{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [],
   "source": [
    "people = {\n",
    "    \"first\": [\"Corey\", 'Jane', 'John'], \n",
    "    \"last\": [\"Schafer\", 'Doe', 'Doe'], \n",
    "    \"email\": [\"CoreyMSchafer@gmail.com\", 'JaneDoe@email.com', 'JohnDoe@email.com']\n",
    "}"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {},
   "outputs": [],
   "source": [
    "df = pd.DataFrame(people)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first</th>\n",
       "      <th>last</th>\n",
       "      <th>email</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>0</td>\n",
       "      <td>Corey</td>\n",
       "      <td>Schafer</td>\n",
       "      <td>CoreyMSchafer@gmail.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>Jane</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JaneDoe@email.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2</td>\n",
       "      <td>John</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JohnDoe@email.com</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   first     last                    email\n",
       "0  Corey  Schafer  CoreyMSchafer@gmail.com\n",
       "1   Jane      Doe        JaneDoe@email.com\n",
       "2   John      Doe        JohnDoe@email.com"
      ]
     },
     "execution_count": 28,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "0    False\n",
       "1     True\n",
       "2     True\n",
       "Name: last, dtype: bool"
      ]
     },
     "execution_count": 29,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df['last'] == 'Doe'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "0    False\n",
       "1     True\n",
       "2     True\n",
       "Name: last, dtype: bool"
      ]
     },
     "execution_count": 30,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "filt = (df['last'] == 'Doe')\n",
    "filt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first</th>\n",
       "      <th>last</th>\n",
       "      <th>email</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>Jane</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JaneDoe@email.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2</td>\n",
       "      <td>John</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JohnDoe@email.com</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  first last              email\n",
       "1  Jane  Doe  JaneDoe@email.com\n",
       "2  John  Doe  JohnDoe@email.com"
      ]
     },
     "execution_count": 31,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df[filt]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first</th>\n",
       "      <th>last</th>\n",
       "      <th>email</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>Jane</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JaneDoe@email.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2</td>\n",
       "      <td>John</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JohnDoe@email.com</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  first last              email\n",
       "1  Jane  Doe  JaneDoe@email.com\n",
       "2  John  Doe  JohnDoe@email.com"
      ]
     },
     "execution_count": 32,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df[df['last'] == 'Doe']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first</th>\n",
       "      <th>last</th>\n",
       "      <th>email</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>Jane</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JaneDoe@email.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2</td>\n",
       "      <td>John</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JohnDoe@email.com</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  first last              email\n",
       "1  Jane  Doe  JaneDoe@email.com\n",
       "2  John  Doe  JohnDoe@email.com"
      ]
     },
     "execution_count": 33,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.loc[filt]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "1    JaneDoe@email.com\n",
       "2    JohnDoe@email.com\n",
       "Name: email, dtype: object"
      ]
     },
     "execution_count": 34,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.loc[filt,'email']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "metadata": {},
   "outputs": [],
   "source": [
    "filt = (df['last'] == 'Doe') & (df['first'] == 'John')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "2    JohnDoe@email.com\n",
       "Name: email, dtype: object"
      ]
     },
     "execution_count": 37,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.loc[filt,'email']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "metadata": {},
   "outputs": [],
   "source": [
    "filt = (df['last'] == 'Schafer') | (df['first'] == 'John')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 39,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "0    CoreyMSchafer@gmail.com\n",
       "2          JohnDoe@email.com\n",
       "Name: email, dtype: object"
      ]
     },
     "execution_count": 39,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.loc[filt,'email']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 40,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "1    JaneDoe@email.com\n",
       "Name: email, dtype: object"
      ]
     },
     "execution_count": 40,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.loc[~filt,'email']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 43,
   "metadata": {},
   "outputs": [],
   "source": [
    "df = pd.read_csv('survey_results_public.csv', index_col='Respondent')\n",
    "schema_df = pd.read_csv('survey_results_schema.csv', index_col='Column')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 44,
   "metadata": {},
   "outputs": [],
   "source": [
    "pd.set_option('display.max_columns', 85)\n",
    "pd.set_option('display.max_rows', 85)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 45,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Hobby</th>\n",
       "      <th>OpenSource</th>\n",
       "      <th>Country</th>\n",
       "      <th>Student</th>\n",
       "      <th>Employment</th>\n",
       "      <th>FormalEducation</th>\n",
       "      <th>UndergradMajor</th>\n",
       "      <th>CompanySize</th>\n",
       "      <th>DevType</th>\n",
       "      <th>YearsCoding</th>\n",
       "      <th>YearsCodingProf</th>\n",
       "      <th>JobSatisfaction</th>\n",
       "      <th>CareerSatisfaction</th>\n",
       "      <th>HopeFiveYears</th>\n",
       "      <th>JobSearchStatus</th>\n",
       "      <th>LastNewJob</th>\n",
       "      <th>AssessJob1</th>\n",
       "      <th>AssessJob2</th>\n",
       "      <th>AssessJob3</th>\n",
       "      <th>AssessJob4</th>\n",
       "      <th>AssessJob5</th>\n",
       "      <th>AssessJob6</th>\n",
       "      <th>AssessJob7</th>\n",
       "      <th>AssessJob8</th>\n",
       "      <th>AssessJob9</th>\n",
       "      <th>AssessJob10</th>\n",
       "      <th>AssessBenefits1</th>\n",
       "      <th>AssessBenefits2</th>\n",
       "      <th>AssessBenefits3</th>\n",
       "      <th>AssessBenefits4</th>\n",
       "      <th>AssessBenefits5</th>\n",
       "      <th>AssessBenefits6</th>\n",
       "      <th>AssessBenefits7</th>\n",
       "      <th>AssessBenefits8</th>\n",
       "      <th>AssessBenefits9</th>\n",
       "      <th>AssessBenefits10</th>\n",
       "      <th>AssessBenefits11</th>\n",
       "      <th>JobContactPriorities1</th>\n",
       "      <th>JobContactPriorities2</th>\n",
       "      <th>JobContactPriorities3</th>\n",
       "      <th>JobContactPriorities4</th>\n",
       "      <th>JobContactPriorities5</th>\n",
       "      <th>...</th>\n",
       "      <th>AdsPriorities2</th>\n",
       "      <th>AdsPriorities3</th>\n",
       "      <th>AdsPriorities4</th>\n",
       "      <th>AdsPriorities5</th>\n",
       "      <th>AdsPriorities6</th>\n",
       "      <th>AdsPriorities7</th>\n",
       "      <th>AIDangerous</th>\n",
       "      <th>AIInteresting</th>\n",
       "      <th>AIResponsible</th>\n",
       "      <th>AIFuture</th>\n",
       "      <th>EthicsChoice</th>\n",
       "      <th>EthicsReport</th>\n",
       "      <th>EthicsResponsible</th>\n",
       "      <th>EthicalImplications</th>\n",
       "      <th>StackOverflowRecommend</th>\n",
       "      <th>StackOverflowVisit</th>\n",
       "      <th>StackOverflowHasAccount</th>\n",
       "      <th>StackOverflowParticipate</th>\n",
       "      <th>StackOverflowJobs</th>\n",
       "      <th>StackOverflowDevStory</th>\n",
       "      <th>StackOverflowJobsRecommend</th>\n",
       "      <th>StackOverflowConsiderMember</th>\n",
       "      <th>HypotheticalTools1</th>\n",
       "      <th>HypotheticalTools2</th>\n",
       "      <th>HypotheticalTools3</th>\n",
       "      <th>HypotheticalTools4</th>\n",
       "      <th>HypotheticalTools5</th>\n",
       "      <th>WakeTime</th>\n",
       "      <th>HoursComputer</th>\n",
       "      <th>HoursOutside</th>\n",
       "      <th>SkipMeals</th>\n",
       "      <th>ErgonomicDevices</th>\n",
       "      <th>Exercise</th>\n",
       "      <th>Gender</th>\n",
       "      <th>SexualOrientation</th>\n",
       "      <th>EducationParents</th>\n",
       "      <th>RaceEthnicity</th>\n",
       "      <th>Age</th>\n",
       "      <th>Dependents</th>\n",
       "      <th>MilitaryUS</th>\n",
       "      <th>SurveyTooLong</th>\n",
       "      <th>SurveyEasy</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Respondent</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>Kenya</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed part-time</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>Mathematics or statistics</td>\n",
       "      <td>20 to 99 employees</td>\n",
       "      <td>Full-stack developer</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>Extremely satisfied</td>\n",
       "      <td>Extremely satisfied</td>\n",
       "      <td>Working as a founder or co-founder of my own c...</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Less than a year ago</td>\n",
       "      <td>10.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>5.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>Algorithms making important decisions</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>No</td>\n",
       "      <td>Yes, and publicly</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Multiple times per day</td>\n",
       "      <td>Yes</td>\n",
       "      <td>I have never participated in Q&amp;A on Stack Over...</td>\n",
       "      <td>No, I knew that Stack Overflow had a jobs boar...</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Between 5:00 - 6:00 AM</td>\n",
       "      <td>9 - 12 hours</td>\n",
       "      <td>1 - 2 hours</td>\n",
       "      <td>Never</td>\n",
       "      <td>Standing desk</td>\n",
       "      <td>3 - 4 times per week</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>Black or of African descent</td>\n",
       "      <td>25 - 34 years old</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was an appropriate length</td>\n",
       "      <td>Very easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>3</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>United Kingdom</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>A natural science (ex. biology, chemistry, phy...</td>\n",
       "      <td>10,000 or more employees</td>\n",
       "      <td>Database administrator;DevOps specialist;Full-...</td>\n",
       "      <td>30 or more years</td>\n",
       "      <td>18-20 years</td>\n",
       "      <td>Moderately dissatisfied</td>\n",
       "      <td>Neither satisfied nor dissatisfied</td>\n",
       "      <td>Working in a different or more specialized tec...</td>\n",
       "      <td>I am actively looking for a job</td>\n",
       "      <td>More than 4 years ago</td>\n",
       "      <td>1.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>...</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No, I have one but it's out of date</td>\n",
       "      <td>7</td>\n",
       "      <td>Yes</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Between 6:01 - 7:00 AM</td>\n",
       "      <td>5 - 8 hours</td>\n",
       "      <td>30 - 59 minutes</td>\n",
       "      <td>Never</td>\n",
       "      <td>Ergonomic keyboard or mouse</td>\n",
       "      <td>Daily or almost every day</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>35 - 44 years old</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was an appropriate length</td>\n",
       "      <td>Somewhat easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>4</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>United States</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Associate degree</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>20 to 99 employees</td>\n",
       "      <td>Engineering manager;Full-stack developer</td>\n",
       "      <td>24-26 years</td>\n",
       "      <td>6-8 years</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Working as a founder or co-founder of my own c...</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Less than a year ago</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>5</td>\n",
       "      <td>No</td>\n",
       "      <td>No</td>\n",
       "      <td>United States</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>100 to 499 employees</td>\n",
       "      <td>Full-stack developer</td>\n",
       "      <td>18-20 years</td>\n",
       "      <td>12-14 years</td>\n",
       "      <td>Neither satisfied nor dissatisfied</td>\n",
       "      <td>Slightly dissatisfied</td>\n",
       "      <td>Working as a founder or co-founder of my own c...</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Less than a year ago</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>A governmental or other regulatory body</td>\n",
       "      <td>I don't care about it, or I haven't thought ab...</td>\n",
       "      <td>No</td>\n",
       "      <td>Yes, but only within the company</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>A few times per week</td>\n",
       "      <td>Yes</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No, I have one but it's out of date</td>\n",
       "      <td>8</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Between 6:01 - 7:00 AM</td>\n",
       "      <td>9 - 12 hours</td>\n",
       "      <td>Less than 30 minutes</td>\n",
       "      <td>3 - 4 times per week</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I don't typically exercise</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Some college/university study without earning ...</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>35 - 44 years old</td>\n",
       "      <td>No</td>\n",
       "      <td>No</td>\n",
       "      <td>The survey was an appropriate length</td>\n",
       "      <td>Somewhat easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>7</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>South Africa</td>\n",
       "      <td>Yes, part-time</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Some college/university study without earning ...</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>10,000 or more employees</td>\n",
       "      <td>Data or business analyst;Desktop or enterprise...</td>\n",
       "      <td>6-8 years</td>\n",
       "      <td>0-2 years</td>\n",
       "      <td>Slightly satisfied</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Working in a different or more specialized tec...</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Between 1 and 2 years ago</td>\n",
       "      <td>8.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>...</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>Algorithms making important decisions</td>\n",
       "      <td>Algorithms making important decisions</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>No</td>\n",
       "      <td>Yes, but only within the company</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Daily or almost daily</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>No, I knew that Stack Overflow had a jobs boar...</td>\n",
       "      <td>No, I know what it is but I don't have one</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Before 5:00 AM</td>\n",
       "      <td>Over 12 hours</td>\n",
       "      <td>1 - 2 hours</td>\n",
       "      <td>Never</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3 - 4 times per week</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Some college/university study without earning ...</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>18 - 24 years old</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was an appropriate length</td>\n",
       "      <td>Somewhat easy</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>5 rows × 128 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "           Hobby OpenSource         Country         Student  \\\n",
       "Respondent                                                    \n",
       "1            Yes         No           Kenya              No   \n",
       "3            Yes        Yes  United Kingdom              No   \n",
       "4            Yes        Yes   United States              No   \n",
       "5             No         No   United States              No   \n",
       "7            Yes         No    South Africa  Yes, part-time   \n",
       "\n",
       "                    Employment  \\\n",
       "Respondent                       \n",
       "1           Employed part-time   \n",
       "3           Employed full-time   \n",
       "4           Employed full-time   \n",
       "5           Employed full-time   \n",
       "7           Employed full-time   \n",
       "\n",
       "                                              FormalEducation  \\\n",
       "Respondent                                                      \n",
       "1                    Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "3                    Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "4                                            Associate degree   \n",
       "5                    Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "7           Some college/university study without earning ...   \n",
       "\n",
       "                                               UndergradMajor  \\\n",
       "Respondent                                                      \n",
       "1                                   Mathematics or statistics   \n",
       "3           A natural science (ex. biology, chemistry, phy...   \n",
       "4           Computer science, computer engineering, or sof...   \n",
       "5           Computer science, computer engineering, or sof...   \n",
       "7           Computer science, computer engineering, or sof...   \n",
       "\n",
       "                         CompanySize  \\\n",
       "Respondent                             \n",
       "1                 20 to 99 employees   \n",
       "3           10,000 or more employees   \n",
       "4                 20 to 99 employees   \n",
       "5               100 to 499 employees   \n",
       "7           10,000 or more employees   \n",
       "\n",
       "                                                      DevType  \\\n",
       "Respondent                                                      \n",
       "1                                        Full-stack developer   \n",
       "3           Database administrator;DevOps specialist;Full-...   \n",
       "4                    Engineering manager;Full-stack developer   \n",
       "5                                        Full-stack developer   \n",
       "7           Data or business analyst;Desktop or enterprise...   \n",
       "\n",
       "                 YearsCoding YearsCodingProf  \\\n",
       "Respondent                                     \n",
       "1                  3-5 years       3-5 years   \n",
       "3           30 or more years     18-20 years   \n",
       "4                24-26 years       6-8 years   \n",
       "5                18-20 years     12-14 years   \n",
       "7                  6-8 years       0-2 years   \n",
       "\n",
       "                               JobSatisfaction  \\\n",
       "Respondent                                       \n",
       "1                          Extremely satisfied   \n",
       "3                      Moderately dissatisfied   \n",
       "4                         Moderately satisfied   \n",
       "5           Neither satisfied nor dissatisfied   \n",
       "7                           Slightly satisfied   \n",
       "\n",
       "                            CareerSatisfaction  \\\n",
       "Respondent                                       \n",
       "1                          Extremely satisfied   \n",
       "3           Neither satisfied nor dissatisfied   \n",
       "4                         Moderately satisfied   \n",
       "5                        Slightly dissatisfied   \n",
       "7                         Moderately satisfied   \n",
       "\n",
       "                                                HopeFiveYears  \\\n",
       "Respondent                                                      \n",
       "1           Working as a founder or co-founder of my own c...   \n",
       "3           Working in a different or more specialized tec...   \n",
       "4           Working as a founder or co-founder of my own c...   \n",
       "5           Working as a founder or co-founder of my own c...   \n",
       "7           Working in a different or more specialized tec...   \n",
       "\n",
       "                                              JobSearchStatus  \\\n",
       "Respondent                                                      \n",
       "1           I’m not actively looking, but I am open to new...   \n",
       "3                             I am actively looking for a job   \n",
       "4           I’m not actively looking, but I am open to new...   \n",
       "5           I’m not actively looking, but I am open to new...   \n",
       "7           I’m not actively looking, but I am open to new...   \n",
       "\n",
       "                           LastNewJob  AssessJob1  AssessJob2  AssessJob3  \\\n",
       "Respondent                                                                  \n",
       "1                Less than a year ago        10.0         7.0         8.0   \n",
       "3               More than 4 years ago         1.0         7.0        10.0   \n",
       "4                Less than a year ago         NaN         NaN         NaN   \n",
       "5                Less than a year ago         NaN         NaN         NaN   \n",
       "7           Between 1 and 2 years ago         8.0         5.0         7.0   \n",
       "\n",
       "            AssessJob4  AssessJob5  AssessJob6  AssessJob7  AssessJob8  \\\n",
       "Respondent                                                               \n",
       "1                  1.0         2.0         5.0         3.0         4.0   \n",
       "3                  8.0         2.0         5.0         4.0         3.0   \n",
       "4                  NaN         NaN         NaN         NaN         NaN   \n",
       "5                  NaN         NaN         NaN         NaN         NaN   \n",
       "7                  1.0         2.0         6.0         4.0         3.0   \n",
       "\n",
       "            AssessJob9  AssessJob10  AssessBenefits1  AssessBenefits2  \\\n",
       "Respondent                                                              \n",
       "1                  9.0          6.0              NaN              NaN   \n",
       "3                  6.0          9.0              1.0              5.0   \n",
       "4                  NaN          NaN              NaN              NaN   \n",
       "5                  NaN          NaN              NaN              NaN   \n",
       "7                 10.0          9.0              1.0             10.0   \n",
       "\n",
       "            AssessBenefits3  AssessBenefits4  AssessBenefits5  \\\n",
       "Respondent                                                      \n",
       "1                       NaN              NaN              NaN   \n",
       "3                       3.0              7.0             10.0   \n",
       "4                       NaN              NaN              NaN   \n",
       "5                       NaN              NaN              NaN   \n",
       "7                       2.0              4.0              8.0   \n",
       "\n",
       "            AssessBenefits6  AssessBenefits7  AssessBenefits8  \\\n",
       "Respondent                                                      \n",
       "1                       NaN              NaN              NaN   \n",
       "3                       4.0             11.0              9.0   \n",
       "4                       NaN              NaN              NaN   \n",
       "5                       NaN              NaN              NaN   \n",
       "7                       3.0             11.0              7.0   \n",
       "\n",
       "            AssessBenefits9  AssessBenefits10  AssessBenefits11  \\\n",
       "Respondent                                                        \n",
       "1                       NaN               NaN               NaN   \n",
       "3                       6.0               2.0               8.0   \n",
       "4                       NaN               NaN               NaN   \n",
       "5                       NaN               NaN               NaN   \n",
       "7                       5.0               9.0               6.0   \n",
       "\n",
       "            JobContactPriorities1  JobContactPriorities2  \\\n",
       "Respondent                                                 \n",
       "1                             3.0                    1.0   \n",
       "3                             3.0                    1.0   \n",
       "4                             NaN                    NaN   \n",
       "5                             NaN                    NaN   \n",
       "7                             2.0                    1.0   \n",
       "\n",
       "            JobContactPriorities3  JobContactPriorities4  \\\n",
       "Respondent                                                 \n",
       "1                             4.0                    2.0   \n",
       "3                             5.0                    2.0   \n",
       "4                             NaN                    NaN   \n",
       "5                             NaN                    NaN   \n",
       "7                             4.0                    5.0   \n",
       "\n",
       "            JobContactPriorities5  ...  AdsPriorities2  AdsPriorities3  \\\n",
       "Respondent                         ...                                   \n",
       "1                             5.0  ...             5.0             4.0   \n",
       "3                             4.0  ...             5.0             1.0   \n",
       "4                             NaN  ...             NaN             NaN   \n",
       "5                             NaN  ...             NaN             NaN   \n",
       "7                             3.0  ...             3.0             4.0   \n",
       "\n",
       "            AdsPriorities4  AdsPriorities5  AdsPriorities6  AdsPriorities7  \\\n",
       "Respondent                                                                   \n",
       "1                      7.0             2.0             6.0             3.0   \n",
       "3                      4.0             6.0             7.0             2.0   \n",
       "4                      NaN             NaN             NaN             NaN   \n",
       "5                      NaN             NaN             NaN             NaN   \n",
       "7                      6.0             1.0             7.0             5.0   \n",
       "\n",
       "                                                  AIDangerous  \\\n",
       "Respondent                                                      \n",
       "1           Artificial intelligence surpassing human intel...   \n",
       "3                               Increasing automation of jobs   \n",
       "4                                                         NaN   \n",
       "5           Artificial intelligence surpassing human intel...   \n",
       "7                       Algorithms making important decisions   \n",
       "\n",
       "                                                AIInteresting  \\\n",
       "Respondent                                                      \n",
       "1                       Algorithms making important decisions   \n",
       "3                               Increasing automation of jobs   \n",
       "4                                                         NaN   \n",
       "5           Artificial intelligence surpassing human intel...   \n",
       "7                       Algorithms making important decisions   \n",
       "\n",
       "                                           AIResponsible  \\\n",
       "Respondent                                                 \n",
       "1           The developers or the people creating the AI   \n",
       "3           The developers or the people creating the AI   \n",
       "4                                                    NaN   \n",
       "5                A governmental or other regulatory body   \n",
       "7           The developers or the people creating the AI   \n",
       "\n",
       "                                                     AIFuture  \\\n",
       "Respondent                                                      \n",
       "1           I'm excited about the possibilities more than ...   \n",
       "3           I'm excited about the possibilities more than ...   \n",
       "4                                                         NaN   \n",
       "5           I don't care about it, or I haven't thought ab...   \n",
       "7           I'm excited about the possibilities more than ...   \n",
       "\n",
       "                     EthicsChoice                      EthicsReport  \\\n",
       "Respondent                                                            \n",
       "1                              No                 Yes, and publicly   \n",
       "3           Depends on what it is             Depends on what it is   \n",
       "4                             NaN                               NaN   \n",
       "5                              No  Yes, but only within the company   \n",
       "7                              No  Yes, but only within the company   \n",
       "\n",
       "                                       EthicsResponsible EthicalImplications  \\\n",
       "Respondent                                                                     \n",
       "1           Upper management at the company/organization                 Yes   \n",
       "3           Upper management at the company/organization                 Yes   \n",
       "4                                                    NaN                 NaN   \n",
       "5           Upper management at the company/organization                 Yes   \n",
       "7           Upper management at the company/organization                 Yes   \n",
       "\n",
       "           StackOverflowRecommend               StackOverflowVisit  \\\n",
       "Respondent                                                           \n",
       "1                10 (Very Likely)           Multiple times per day   \n",
       "3                10 (Very Likely)  A few times per month or weekly   \n",
       "4                             NaN                              NaN   \n",
       "5                10 (Very Likely)             A few times per week   \n",
       "7                10 (Very Likely)            Daily or almost daily   \n",
       "\n",
       "           StackOverflowHasAccount  \\\n",
       "Respondent                           \n",
       "1                              Yes   \n",
       "3                              Yes   \n",
       "4                              NaN   \n",
       "5                              Yes   \n",
       "7                              Yes   \n",
       "\n",
       "                                     StackOverflowParticipate  \\\n",
       "Respondent                                                      \n",
       "1           I have never participated in Q&A on Stack Over...   \n",
       "3                             A few times per month or weekly   \n",
       "4                                                         NaN   \n",
       "5                             A few times per month or weekly   \n",
       "7                         Less than once per month or monthly   \n",
       "\n",
       "                                            StackOverflowJobs  \\\n",
       "Respondent                                                      \n",
       "1           No, I knew that Stack Overflow had a jobs boar...   \n",
       "3                                                         Yes   \n",
       "4                                                         NaN   \n",
       "5                                                         Yes   \n",
       "7           No, I knew that Stack Overflow had a jobs boar...   \n",
       "\n",
       "                                 StackOverflowDevStory  \\\n",
       "Respondent                                               \n",
       "1                                                  Yes   \n",
       "3                  No, I have one but it's out of date   \n",
       "4                                                  NaN   \n",
       "5                  No, I have one but it's out of date   \n",
       "7           No, I know what it is but I don't have one   \n",
       "\n",
       "           StackOverflowJobsRecommend StackOverflowConsiderMember  \\\n",
       "Respondent                                                          \n",
       "1                                 NaN                         Yes   \n",
       "3                                   7                         Yes   \n",
       "4                                 NaN                         NaN   \n",
       "5                                   8                         Yes   \n",
       "7                                 NaN                         Yes   \n",
       "\n",
       "                 HypotheticalTools1       HypotheticalTools2  \\\n",
       "Respondent                                                     \n",
       "1              Extremely interested     Extremely interested   \n",
       "3           A little bit interested  A little bit interested   \n",
       "4                               NaN                      NaN   \n",
       "5               Somewhat interested      Somewhat interested   \n",
       "7              Extremely interested     Extremely interested   \n",
       "\n",
       "                 HypotheticalTools3       HypotheticalTools4  \\\n",
       "Respondent                                                     \n",
       "1              Extremely interested     Extremely interested   \n",
       "3           A little bit interested  A little bit interested   \n",
       "4                               NaN                      NaN   \n",
       "5               Somewhat interested      Somewhat interested   \n",
       "7              Extremely interested     Extremely interested   \n",
       "\n",
       "                 HypotheticalTools5                WakeTime  HoursComputer  \\\n",
       "Respondent                                                                   \n",
       "1              Extremely interested  Between 5:00 - 6:00 AM   9 - 12 hours   \n",
       "3           A little bit interested  Between 6:01 - 7:00 AM    5 - 8 hours   \n",
       "4                               NaN                     NaN            NaN   \n",
       "5               Somewhat interested  Between 6:01 - 7:00 AM   9 - 12 hours   \n",
       "7              Extremely interested          Before 5:00 AM  Over 12 hours   \n",
       "\n",
       "                    HoursOutside             SkipMeals  \\\n",
       "Respondent                                               \n",
       "1                    1 - 2 hours                 Never   \n",
       "3                30 - 59 minutes                 Never   \n",
       "4                            NaN                   NaN   \n",
       "5           Less than 30 minutes  3 - 4 times per week   \n",
       "7                    1 - 2 hours                 Never   \n",
       "\n",
       "                       ErgonomicDevices                    Exercise Gender  \\\n",
       "Respondent                                                                   \n",
       "1                         Standing desk        3 - 4 times per week   Male   \n",
       "3           Ergonomic keyboard or mouse   Daily or almost every day   Male   \n",
       "4                                   NaN                         NaN    NaN   \n",
       "5                                   NaN  I don't typically exercise   Male   \n",
       "7                                   NaN        3 - 4 times per week   Male   \n",
       "\n",
       "                   SexualOrientation  \\\n",
       "Respondent                             \n",
       "1           Straight or heterosexual   \n",
       "3           Straight or heterosexual   \n",
       "4                                NaN   \n",
       "5           Straight or heterosexual   \n",
       "7           Straight or heterosexual   \n",
       "\n",
       "                                             EducationParents  \\\n",
       "Respondent                                                      \n",
       "1                    Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "3                    Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "4                                                         NaN   \n",
       "5           Some college/university study without earning ...   \n",
       "7           Some college/university study without earning ...   \n",
       "\n",
       "                           RaceEthnicity                Age Dependents  \\\n",
       "Respondent                                                               \n",
       "1            Black or of African descent  25 - 34 years old        Yes   \n",
       "3           White or of European descent  35 - 44 years old        Yes   \n",
       "4                                    NaN                NaN        NaN   \n",
       "5           White or of European descent  35 - 44 years old         No   \n",
       "7           White or of European descent  18 - 24 years old        Yes   \n",
       "\n",
       "           MilitaryUS                         SurveyTooLong     SurveyEasy  \n",
       "Respondent                                                                  \n",
       "1                 NaN  The survey was an appropriate length      Very easy  \n",
       "3                 NaN  The survey was an appropriate length  Somewhat easy  \n",
       "4                 NaN                                   NaN            NaN  \n",
       "5                  No  The survey was an appropriate length  Somewhat easy  \n",
       "7                 NaN  The survey was an appropriate length  Somewhat easy  \n",
       "\n",
       "[5 rows x 128 columns]"
      ]
     },
     "execution_count": 45,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 53,
   "metadata": {},
   "outputs": [],
   "source": [
    "high_salary = (df['AssessJob8'] > 8)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 54,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Hobby</th>\n",
       "      <th>OpenSource</th>\n",
       "      <th>Country</th>\n",
       "      <th>Student</th>\n",
       "      <th>Employment</th>\n",
       "      <th>FormalEducation</th>\n",
       "      <th>UndergradMajor</th>\n",
       "      <th>CompanySize</th>\n",
       "      <th>DevType</th>\n",
       "      <th>YearsCoding</th>\n",
       "      <th>YearsCodingProf</th>\n",
       "      <th>JobSatisfaction</th>\n",
       "      <th>CareerSatisfaction</th>\n",
       "      <th>HopeFiveYears</th>\n",
       "      <th>JobSearchStatus</th>\n",
       "      <th>LastNewJob</th>\n",
       "      <th>AssessJob1</th>\n",
       "      <th>AssessJob2</th>\n",
       "      <th>AssessJob3</th>\n",
       "      <th>AssessJob4</th>\n",
       "      <th>AssessJob5</th>\n",
       "      <th>AssessJob6</th>\n",
       "      <th>AssessJob7</th>\n",
       "      <th>AssessJob8</th>\n",
       "      <th>AssessJob9</th>\n",
       "      <th>AssessJob10</th>\n",
       "      <th>AssessBenefits1</th>\n",
       "      <th>AssessBenefits2</th>\n",
       "      <th>AssessBenefits3</th>\n",
       "      <th>AssessBenefits4</th>\n",
       "      <th>AssessBenefits5</th>\n",
       "      <th>AssessBenefits6</th>\n",
       "      <th>AssessBenefits7</th>\n",
       "      <th>AssessBenefits8</th>\n",
       "      <th>AssessBenefits9</th>\n",
       "      <th>AssessBenefits10</th>\n",
       "      <th>AssessBenefits11</th>\n",
       "      <th>JobContactPriorities1</th>\n",
       "      <th>JobContactPriorities2</th>\n",
       "      <th>JobContactPriorities3</th>\n",
       "      <th>JobContactPriorities4</th>\n",
       "      <th>JobContactPriorities5</th>\n",
       "      <th>...</th>\n",
       "      <th>AdsPriorities2</th>\n",
       "      <th>AdsPriorities3</th>\n",
       "      <th>AdsPriorities4</th>\n",
       "      <th>AdsPriorities5</th>\n",
       "      <th>AdsPriorities6</th>\n",
       "      <th>AdsPriorities7</th>\n",
       "      <th>AIDangerous</th>\n",
       "      <th>AIInteresting</th>\n",
       "      <th>AIResponsible</th>\n",
       "      <th>AIFuture</th>\n",
       "      <th>EthicsChoice</th>\n",
       "      <th>EthicsReport</th>\n",
       "      <th>EthicsResponsible</th>\n",
       "      <th>EthicalImplications</th>\n",
       "      <th>StackOverflowRecommend</th>\n",
       "      <th>StackOverflowVisit</th>\n",
       "      <th>StackOverflowHasAccount</th>\n",
       "      <th>StackOverflowParticipate</th>\n",
       "      <th>StackOverflowJobs</th>\n",
       "      <th>StackOverflowDevStory</th>\n",
       "      <th>StackOverflowJobsRecommend</th>\n",
       "      <th>StackOverflowConsiderMember</th>\n",
       "      <th>HypotheticalTools1</th>\n",
       "      <th>HypotheticalTools2</th>\n",
       "      <th>HypotheticalTools3</th>\n",
       "      <th>HypotheticalTools4</th>\n",
       "      <th>HypotheticalTools5</th>\n",
       "      <th>WakeTime</th>\n",
       "      <th>HoursComputer</th>\n",
       "      <th>HoursOutside</th>\n",
       "      <th>SkipMeals</th>\n",
       "      <th>ErgonomicDevices</th>\n",
       "      <th>Exercise</th>\n",
       "      <th>Gender</th>\n",
       "      <th>SexualOrientation</th>\n",
       "      <th>EducationParents</th>\n",
       "      <th>RaceEthnicity</th>\n",
       "      <th>Age</th>\n",
       "      <th>Dependents</th>\n",
       "      <th>MilitaryUS</th>\n",
       "      <th>SurveyTooLong</th>\n",
       "      <th>SurveyEasy</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Respondent</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>63</td>\n",
       "      <td>No</td>\n",
       "      <td>No</td>\n",
       "      <td>Russian Federation</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Some college/university study without earning ...</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>1,000 to 4,999 employees</td>\n",
       "      <td>Full-stack developer</td>\n",
       "      <td>24-26 years</td>\n",
       "      <td>24-26 years</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Neither satisfied nor dissatisfied</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>More than 4 years ago</td>\n",
       "      <td>2.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>7.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>6</td>\n",
       "      <td>I have never visited Stack Overflow (before to...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I'm not sure</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Not at all interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Between 7:01 - 8:00 AM</td>\n",
       "      <td>1 - 4 hours</td>\n",
       "      <td>Over 4 hours</td>\n",
       "      <td>1 - 2 times per week</td>\n",
       "      <td>Ergonomic keyboard or mouse</td>\n",
       "      <td>I don't typically exercise</td>\n",
       "      <td>Female</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>35 - 44 years old</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>129</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>United States</td>\n",
       "      <td>Yes, full-time</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Some college/university study without earning ...</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>20 to 99 employees</td>\n",
       "      <td>Back-end developer;Data scientist or machine l...</td>\n",
       "      <td>6-8 years</td>\n",
       "      <td>0-2 years</td>\n",
       "      <td>Neither satisfied nor dissatisfied</td>\n",
       "      <td>Moderately dissatisfied</td>\n",
       "      <td>Working in a career completely unrelated to so...</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Less than a year ago</td>\n",
       "      <td>5.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>...</td>\n",
       "      <td>4.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>A governmental or other regulatory body</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Yes</td>\n",
       "      <td>8</td>\n",
       "      <td>Multiple times per day</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>No, I knew that Stack Overflow had a jobs boar...</td>\n",
       "      <td>No, and I don't know what that is</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I'm not sure</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Between 9:01 - 10:00 AM</td>\n",
       "      <td>9 - 12 hours</td>\n",
       "      <td>1 - 2 hours</td>\n",
       "      <td>Daily or almost every day</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3 - 4 times per week</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Other doctoral degree (Ph.D, Ed.D., etc.)</td>\n",
       "      <td>East Asian</td>\n",
       "      <td>18 - 24 years old</td>\n",
       "      <td>No</td>\n",
       "      <td>No</td>\n",
       "      <td>The survey was too long</td>\n",
       "      <td>Somewhat easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>140</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>India</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>100 to 499 employees</td>\n",
       "      <td>Back-end developer</td>\n",
       "      <td>0-2 years</td>\n",
       "      <td>0-2 years</td>\n",
       "      <td>Slightly dissatisfied</td>\n",
       "      <td>Slightly satisfied</td>\n",
       "      <td>Working as a founder or co-founder of my own c...</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Less than a year ago</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>...</td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I don't care about it, or I haven't thought ab...</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>No</td>\n",
       "      <td>9</td>\n",
       "      <td>Daily or almost daily</td>\n",
       "      <td>Yes</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>No, I didn't know that Stack Overflow had a jo...</td>\n",
       "      <td>No, I know what it is but I don't have one</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Between 7:01 - 8:00 AM</td>\n",
       "      <td>5 - 8 hours</td>\n",
       "      <td>30 - 59 minutes</td>\n",
       "      <td>Never</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Daily or almost every day</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>South Asian</td>\n",
       "      <td>18 - 24 years old</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was too long</td>\n",
       "      <td>Somewhat easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>148</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>United States</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>A social science (ex. anthropology, psychology...</td>\n",
       "      <td>20 to 99 employees</td>\n",
       "      <td>Front-end developer</td>\n",
       "      <td>6-8 years</td>\n",
       "      <td>6-8 years</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Extremely satisfied</td>\n",
       "      <td>Working as an engineering manager or other fun...</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>More than 4 years ago</td>\n",
       "      <td>10.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>A governmental or other regulatory body</td>\n",
       "      <td>I'm worried about the dangers more than I'm ex...</td>\n",
       "      <td>No</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>No, I knew that Stack Overflow had a jobs boar...</td>\n",
       "      <td>No, and I don't know what that is</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Not at all interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Between 6:01 - 7:00 AM</td>\n",
       "      <td>5 - 8 hours</td>\n",
       "      <td>1 - 2 hours</td>\n",
       "      <td>Never</td>\n",
       "      <td>Standing desk;Ergonomic keyboard or mouse</td>\n",
       "      <td>Daily or almost every day</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Associate degree</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>25 - 34 years old</td>\n",
       "      <td>No</td>\n",
       "      <td>No</td>\n",
       "      <td>The survey was too long</td>\n",
       "      <td>Very easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>170</td>\n",
       "      <td>No</td>\n",
       "      <td>No</td>\n",
       "      <td>India</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Master’s degree (MA, MS, M.Eng., MBA, etc.)</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>1,000 to 4,999 employees</td>\n",
       "      <td>Back-end developer;Front-end developer;Full-st...</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>0-2 years</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Slightly satisfied</td>\n",
       "      <td>Working as a product manager or project manager</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Less than a year ago</td>\n",
       "      <td>7.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>...</td>\n",
       "      <td>7.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>Prominent industry leaders</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Multiple times per day</td>\n",
       "      <td>I'm not sure / I can't remember</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No, I knew that Stack Overflow had a jobs boar...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I'm not sure</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Between 10:01 - 11:00 AM</td>\n",
       "      <td>9 - 12 hours</td>\n",
       "      <td>1 - 2 hours</td>\n",
       "      <td>1 - 2 times per week</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I don't typically exercise</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Master’s degree (MA, MS, M.Eng., MBA, etc.)</td>\n",
       "      <td>South Asian</td>\n",
       "      <td>25 - 34 years old</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was too long</td>\n",
       "      <td>Somewhat difficult</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>97844</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>United Kingdom</td>\n",
       "      <td>No</td>\n",
       "      <td>Not employed, and not looking for work</td>\n",
       "      <td>Secondary school (e.g. American high school, G...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Student</td>\n",
       "      <td>0-2 years</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I am not interested in new job opportunities</td>\n",
       "      <td>I've never had a job</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>2.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>No</td>\n",
       "      <td>Yes, and publicly</td>\n",
       "      <td>The person who came up with the idea</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>No, I knew that Stack Overflow had a jobs boar...</td>\n",
       "      <td>No, and I don't know what that is</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Not at all interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1 - 4 hours</td>\n",
       "      <td>30 - 59 minutes</td>\n",
       "      <td>Never</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was too long</td>\n",
       "      <td>Neither easy nor difficult</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>98064</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>India</td>\n",
       "      <td>Yes, full-time</td>\n",
       "      <td>Independent contractor, freelancer, or self-em...</td>\n",
       "      <td>Secondary school (e.g. American high school, G...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Designer;Student</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I am actively looking for a job</td>\n",
       "      <td>I've never had a job</td>\n",
       "      <td>4.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>Algorithms making important decisions</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I don't care about it, or I haven't thought ab...</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>No</td>\n",
       "      <td>The person who came up with the idea</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>I'm not sure / I can't remember</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No, I didn't know that Stack Overflow had a jo...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Before 5:00 AM</td>\n",
       "      <td>Over 12 hours</td>\n",
       "      <td>Less than 30 minutes</td>\n",
       "      <td>1 - 2 times per week</td>\n",
       "      <td>Fatigue-relieving floor mat</td>\n",
       "      <td>Daily or almost every day</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual;Asexual</td>\n",
       "      <td>They never completed any formal education</td>\n",
       "      <td>NaN</td>\n",
       "      <td>18 - 24 years old</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was too long</td>\n",
       "      <td>Somewhat difficult</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>98785</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>Germany</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed part-time</td>\n",
       "      <td>Master’s degree (MA, MS, M.Eng., MBA, etc.)</td>\n",
       "      <td>A natural science (ex. biology, chemistry, phy...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Educator or academic researcher</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Between 1 and 2 years ago</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>...</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>Evolving definitions of \"fairness\" in algorith...</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Yes, and publicly</td>\n",
       "      <td>The person who came up with the idea</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Multiple times per day</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No, I didn't know that Stack Overflow had a jo...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I'm not sure</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Between 8:01 - 9:00 AM</td>\n",
       "      <td>Over 12 hours</td>\n",
       "      <td>1 - 2 hours</td>\n",
       "      <td>1 - 2 times per week</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I don't typically exercise</td>\n",
       "      <td>Female</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>25 - 34 years old</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was an appropriate length</td>\n",
       "      <td>Very easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>99654</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>Belgium</td>\n",
       "      <td>Yes, full-time</td>\n",
       "      <td>Not employed, and not looking for work</td>\n",
       "      <td>Some college/university study without earning ...</td>\n",
       "      <td>I never declared a major</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Student</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>I've never had a job</td>\n",
       "      <td>1.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>...</td>\n",
       "      <td>6.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>Algorithms making important decisions</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>A governmental or other regulatory body</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>No</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>The developer who wrote it</td>\n",
       "      <td>Yes</td>\n",
       "      <td>8</td>\n",
       "      <td>Daily or almost daily</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No, I didn't know that Stack Overflow had a jo...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I'm not sure</td>\n",
       "      <td>Not at all interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Not at all interested</td>\n",
       "      <td>Between 6:01 - 7:00 AM</td>\n",
       "      <td>1 - 4 hours</td>\n",
       "      <td>30 - 59 minutes</td>\n",
       "      <td>Never</td>\n",
       "      <td>Wrist/hand supports or braces</td>\n",
       "      <td>I don't typically exercise</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Master’s degree (MA, MS, M.Eng., MBA, etc.)</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>18 - 24 years old</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was too long</td>\n",
       "      <td>Somewhat easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>100002</td>\n",
       "      <td>No</td>\n",
       "      <td>Yes</td>\n",
       "      <td>India</td>\n",
       "      <td>No</td>\n",
       "      <td>Not employed, but looking for work</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>Web development or web design</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Back-end developer</td>\n",
       "      <td>0-2 years</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I am actively looking for a job</td>\n",
       "      <td>I've never had a job</td>\n",
       "      <td>8.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Algorithms making important decisions</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>The developer who wrote it</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Daily or almost daily</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No, I didn't know that Stack Overflow had a jo...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Between 7:01 - 8:00 AM</td>\n",
       "      <td>5 - 8 hours</td>\n",
       "      <td>3 - 4 hours</td>\n",
       "      <td>1 - 2 times per week</td>\n",
       "      <td>Wrist/hand supports or braces</td>\n",
       "      <td>3 - 4 times per week</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Master’s degree (MA, MS, M.Eng., MBA, etc.)</td>\n",
       "      <td>NaN</td>\n",
       "      <td>25 - 34 years old</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was too long</td>\n",
       "      <td>Neither easy nor difficult</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>4685 rows × 128 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "           Hobby OpenSource             Country         Student  \\\n",
       "Respondent                                                        \n",
       "63            No         No  Russian Federation              No   \n",
       "129          Yes        Yes       United States  Yes, full-time   \n",
       "140          Yes         No               India              No   \n",
       "148          Yes        Yes       United States              No   \n",
       "170           No         No               India              No   \n",
       "...          ...        ...                 ...             ...   \n",
       "97844        Yes        Yes      United Kingdom              No   \n",
       "98064        Yes        Yes               India  Yes, full-time   \n",
       "98785        Yes         No             Germany              No   \n",
       "99654        Yes         No             Belgium  Yes, full-time   \n",
       "100002        No        Yes               India              No   \n",
       "\n",
       "                                                   Employment  \\\n",
       "Respondent                                                      \n",
       "63                                         Employed full-time   \n",
       "129                                        Employed full-time   \n",
       "140                                        Employed full-time   \n",
       "148                                        Employed full-time   \n",
       "170                                        Employed full-time   \n",
       "...                                                       ...   \n",
       "97844                  Not employed, and not looking for work   \n",
       "98064       Independent contractor, freelancer, or self-em...   \n",
       "98785                                      Employed part-time   \n",
       "99654                  Not employed, and not looking for work   \n",
       "100002                     Not employed, but looking for work   \n",
       "\n",
       "                                              FormalEducation  \\\n",
       "Respondent                                                      \n",
       "63          Some college/university study without earning ...   \n",
       "129         Some college/university study without earning ...   \n",
       "140                  Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "148                  Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "170               Master’s degree (MA, MS, M.Eng., MBA, etc.)   \n",
       "...                                                       ...   \n",
       "97844       Secondary school (e.g. American high school, G...   \n",
       "98064       Secondary school (e.g. American high school, G...   \n",
       "98785             Master’s degree (MA, MS, M.Eng., MBA, etc.)   \n",
       "99654       Some college/university study without earning ...   \n",
       "100002               Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "\n",
       "                                               UndergradMajor  \\\n",
       "Respondent                                                      \n",
       "63          Computer science, computer engineering, or sof...   \n",
       "129         Computer science, computer engineering, or sof...   \n",
       "140         Computer science, computer engineering, or sof...   \n",
       "148         A social science (ex. anthropology, psychology...   \n",
       "170         Computer science, computer engineering, or sof...   \n",
       "...                                                       ...   \n",
       "97844                                                     NaN   \n",
       "98064                                                     NaN   \n",
       "98785       A natural science (ex. biology, chemistry, phy...   \n",
       "99654                                I never declared a major   \n",
       "100002                          Web development or web design   \n",
       "\n",
       "                         CompanySize  \\\n",
       "Respondent                             \n",
       "63          1,000 to 4,999 employees   \n",
       "129               20 to 99 employees   \n",
       "140             100 to 499 employees   \n",
       "148               20 to 99 employees   \n",
       "170         1,000 to 4,999 employees   \n",
       "...                              ...   \n",
       "97844                            NaN   \n",
       "98064                            NaN   \n",
       "98785                            NaN   \n",
       "99654                            NaN   \n",
       "100002                           NaN   \n",
       "\n",
       "                                                      DevType  YearsCoding  \\\n",
       "Respondent                                                                   \n",
       "63                                       Full-stack developer  24-26 years   \n",
       "129         Back-end developer;Data scientist or machine l...    6-8 years   \n",
       "140                                        Back-end developer    0-2 years   \n",
       "148                                       Front-end developer    6-8 years   \n",
       "170         Back-end developer;Front-end developer;Full-st...    3-5 years   \n",
       "...                                                       ...          ...   \n",
       "97844                                                 Student    0-2 years   \n",
       "98064                                        Designer;Student    3-5 years   \n",
       "98785                         Educator or academic researcher    3-5 years   \n",
       "99654                                                 Student    3-5 years   \n",
       "100002                                     Back-end developer    0-2 years   \n",
       "\n",
       "           YearsCodingProf                     JobSatisfaction  \\\n",
       "Respondent                                                       \n",
       "63             24-26 years                                 NaN   \n",
       "129              0-2 years  Neither satisfied nor dissatisfied   \n",
       "140              0-2 years               Slightly dissatisfied   \n",
       "148              6-8 years                Moderately satisfied   \n",
       "170              0-2 years                Moderately satisfied   \n",
       "...                    ...                                 ...   \n",
       "97844                  NaN                                 NaN   \n",
       "98064                  NaN                                 NaN   \n",
       "98785                  NaN                                 NaN   \n",
       "99654                  NaN                                 NaN   \n",
       "100002                 NaN                                 NaN   \n",
       "\n",
       "                            CareerSatisfaction  \\\n",
       "Respondent                                       \n",
       "63          Neither satisfied nor dissatisfied   \n",
       "129                    Moderately dissatisfied   \n",
       "140                         Slightly satisfied   \n",
       "148                        Extremely satisfied   \n",
       "170                         Slightly satisfied   \n",
       "...                                        ...   \n",
       "97844                                      NaN   \n",
       "98064                                      NaN   \n",
       "98785                                      NaN   \n",
       "99654                                      NaN   \n",
       "100002                                     NaN   \n",
       "\n",
       "                                                HopeFiveYears  \\\n",
       "Respondent                                                      \n",
       "63                                                        NaN   \n",
       "129         Working in a career completely unrelated to so...   \n",
       "140         Working as a founder or co-founder of my own c...   \n",
       "148         Working as an engineering manager or other fun...   \n",
       "170           Working as a product manager or project manager   \n",
       "...                                                       ...   \n",
       "97844                                                     NaN   \n",
       "98064                                                     NaN   \n",
       "98785                                                     NaN   \n",
       "99654                                                     NaN   \n",
       "100002                                                    NaN   \n",
       "\n",
       "                                              JobSearchStatus  \\\n",
       "Respondent                                                      \n",
       "63          I’m not actively looking, but I am open to new...   \n",
       "129         I’m not actively looking, but I am open to new...   \n",
       "140         I’m not actively looking, but I am open to new...   \n",
       "148         I’m not actively looking, but I am open to new...   \n",
       "170         I’m not actively looking, but I am open to new...   \n",
       "...                                                       ...   \n",
       "97844            I am not interested in new job opportunities   \n",
       "98064                         I am actively looking for a job   \n",
       "98785       I’m not actively looking, but I am open to new...   \n",
       "99654       I’m not actively looking, but I am open to new...   \n",
       "100002                        I am actively looking for a job   \n",
       "\n",
       "                           LastNewJob  AssessJob1  AssessJob2  AssessJob3  \\\n",
       "Respondent                                                                  \n",
       "63              More than 4 years ago         2.0         8.0         3.0   \n",
       "129              Less than a year ago         5.0         4.0         8.0   \n",
       "140              Less than a year ago         5.0         3.0         6.0   \n",
       "148             More than 4 years ago        10.0         7.0         8.0   \n",
       "170              Less than a year ago         7.0         2.0         8.0   \n",
       "...                               ...         ...         ...         ...   \n",
       "97844            I've never had a job         1.0         3.0         4.0   \n",
       "98064            I've never had a job         4.0         8.0         6.0   \n",
       "98785       Between 1 and 2 years ago         1.0         5.0         7.0   \n",
       "99654            I've never had a job         1.0         8.0         6.0   \n",
       "100002           I've never had a job         8.0         5.0         3.0   \n",
       "\n",
       "            AssessJob4  AssessJob5  AssessJob6  AssessJob7  AssessJob8  \\\n",
       "Respondent                                                               \n",
       "63                 5.0         9.0         6.0         7.0        10.0   \n",
       "129                7.0         1.0         2.0         3.0        10.0   \n",
       "140                7.0         2.0         4.0         1.0        10.0   \n",
       "148                5.0         1.0         3.0         6.0         9.0   \n",
       "170                4.0         1.0         6.0         3.0         9.0   \n",
       "...                ...         ...         ...         ...         ...   \n",
       "97844              2.0         7.0         5.0         9.0        10.0   \n",
       "98064              7.0         3.0         5.0         1.0         9.0   \n",
       "98785              4.0         3.0         6.0         2.0        10.0   \n",
       "99654              3.0        10.0         7.0         5.0         9.0   \n",
       "100002             7.0         4.0         1.0         6.0         9.0   \n",
       "\n",
       "            AssessJob9  AssessJob10  AssessBenefits1  AssessBenefits2  \\\n",
       "Respondent                                                              \n",
       "63                 1.0          4.0              NaN              NaN   \n",
       "129                6.0          9.0              1.0              2.0   \n",
       "140                9.0          8.0              1.0              6.0   \n",
       "148                2.0          4.0              3.0              6.0   \n",
       "170                5.0         10.0              1.0              2.0   \n",
       "...                ...          ...              ...              ...   \n",
       "97844              6.0          8.0              5.0              2.0   \n",
       "98064              2.0         10.0              5.0              8.0   \n",
       "98785              8.0          9.0              2.0              8.0   \n",
       "99654              4.0          2.0              1.0              2.0   \n",
       "100002             2.0         10.0              3.0              2.0   \n",
       "\n",
       "            AssessBenefits3  AssessBenefits4  AssessBenefits5  \\\n",
       "Respondent                                                      \n",
       "63                      NaN              NaN              NaN   \n",
       "129                     7.0             10.0              8.0   \n",
       "140                     5.0             11.0              9.0   \n",
       "148                     1.0              5.0              8.0   \n",
       "170                    11.0              8.0              7.0   \n",
       "...                     ...              ...              ...   \n",
       "97844                  11.0              4.0             10.0   \n",
       "98064                   4.0              9.0              2.0   \n",
       "98785                   3.0             11.0              9.0   \n",
       "99654                   3.0              7.0              9.0   \n",
       "100002                  5.0              8.0             10.0   \n",
       "\n",
       "            AssessBenefits6  AssessBenefits7  AssessBenefits8  \\\n",
       "Respondent                                                      \n",
       "63                      NaN              NaN              NaN   \n",
       "129                     3.0              4.0              9.0   \n",
       "140                     8.0              3.0              2.0   \n",
       "148                     2.0             11.0              7.0   \n",
       "170                     9.0              4.0             10.0   \n",
       "...                     ...              ...              ...   \n",
       "97844                   1.0              3.0              6.0   \n",
       "98064                  11.0             10.0              3.0   \n",
       "98785                   6.0              7.0              1.0   \n",
       "99654                   4.0             11.0              6.0   \n",
       "100002                  1.0              7.0              6.0   \n",
       "\n",
       "            AssessBenefits9  AssessBenefits10  AssessBenefits11  \\\n",
       "Respondent                                                        \n",
       "63                      NaN               NaN               NaN   \n",
       "129                    11.0               5.0               6.0   \n",
       "140                    10.0               4.0               7.0   \n",
       "148                     4.0               9.0              10.0   \n",
       "170                     6.0               3.0               5.0   \n",
       "...                     ...               ...               ...   \n",
       "97844                   8.0               7.0               9.0   \n",
       "98064                   6.0               7.0               1.0   \n",
       "98785                  10.0               5.0               4.0   \n",
       "99654                   5.0               8.0              10.0   \n",
       "100002                  4.0               9.0              11.0   \n",
       "\n",
       "            JobContactPriorities1  JobContactPriorities2  \\\n",
       "Respondent                                                 \n",
       "63                            NaN                    NaN   \n",
       "129                           5.0                    1.0   \n",
       "140                           4.0                    1.0   \n",
       "148                           5.0                    1.0   \n",
       "170                           3.0                    1.0   \n",
       "...                           ...                    ...   \n",
       "97844                         NaN                    NaN   \n",
       "98064                         1.0                    2.0   \n",
       "98785                         5.0                    3.0   \n",
       "99654                         1.0                    2.0   \n",
       "100002                        1.0                    2.0   \n",
       "\n",
       "            JobContactPriorities3  JobContactPriorities4  \\\n",
       "Respondent                                                 \n",
       "63                            NaN                    NaN   \n",
       "129                           4.0                    2.0   \n",
       "140                           5.0                    2.0   \n",
       "148                           4.0                    3.0   \n",
       "170                           5.0                    2.0   \n",
       "...                           ...                    ...   \n",
       "97844                         NaN                    NaN   \n",
       "98064                         3.0                    5.0   \n",
       "98785                         4.0                    2.0   \n",
       "99654                         3.0                    5.0   \n",
       "100002                        3.0                    4.0   \n",
       "\n",
       "            JobContactPriorities5  ...  AdsPriorities2  AdsPriorities3  \\\n",
       "Respondent                         ...                                   \n",
       "63                            NaN  ...             7.0             5.0   \n",
       "129                           3.0  ...             4.0             3.0   \n",
       "140                           3.0  ...             5.0             2.0   \n",
       "148                           2.0  ...             5.0             2.0   \n",
       "170                           4.0  ...             7.0             2.0   \n",
       "...                           ...  ...             ...             ...   \n",
       "97844                         NaN  ...             2.0             6.0   \n",
       "98064                         4.0  ...             2.0             7.0   \n",
       "98785                         1.0  ...             5.0             1.0   \n",
       "99654                         4.0  ...             6.0             5.0   \n",
       "100002                        5.0  ...             NaN             NaN   \n",
       "\n",
       "            AdsPriorities4  AdsPriorities5  AdsPriorities6  AdsPriorities7  \\\n",
       "Respondent                                                                   \n",
       "63                     6.0             3.0             2.0             4.0   \n",
       "129                    5.0             6.0             1.0             2.0   \n",
       "140                    4.0             1.0             3.0             7.0   \n",
       "148                    1.0             3.0             7.0             6.0   \n",
       "170                    5.0             1.0             6.0             4.0   \n",
       "...                    ...             ...             ...             ...   \n",
       "97844                  3.0             4.0             7.0             5.0   \n",
       "98064                  4.0             3.0             6.0             1.0   \n",
       "98785                  7.0             3.0             4.0             6.0   \n",
       "99654                  7.0             2.0             4.0             1.0   \n",
       "100002                 NaN             NaN             NaN             NaN   \n",
       "\n",
       "                                                  AIDangerous  \\\n",
       "Respondent                                                      \n",
       "63                                                        NaN   \n",
       "129                                                       NaN   \n",
       "140         Artificial intelligence surpassing human intel...   \n",
       "148                             Increasing automation of jobs   \n",
       "170                                                       NaN   \n",
       "...                                                       ...   \n",
       "97844       Artificial intelligence surpassing human intel...   \n",
       "98064                           Increasing automation of jobs   \n",
       "98785       Evolving definitions of \"fairness\" in algorith...   \n",
       "99654                   Algorithms making important decisions   \n",
       "100002                  Algorithms making important decisions   \n",
       "\n",
       "                                                AIInteresting  \\\n",
       "Respondent                                                      \n",
       "63                                                        NaN   \n",
       "129                                                       NaN   \n",
       "140                             Increasing automation of jobs   \n",
       "148                             Increasing automation of jobs   \n",
       "170         Artificial intelligence surpassing human intel...   \n",
       "...                                                       ...   \n",
       "97844                           Increasing automation of jobs   \n",
       "98064                   Algorithms making important decisions   \n",
       "98785       Artificial intelligence surpassing human intel...   \n",
       "99654                           Increasing automation of jobs   \n",
       "100002      Artificial intelligence surpassing human intel...   \n",
       "\n",
       "                                           AIResponsible  \\\n",
       "Respondent                                                 \n",
       "63                                                   NaN   \n",
       "129              A governmental or other regulatory body   \n",
       "140         The developers or the people creating the AI   \n",
       "148              A governmental or other regulatory body   \n",
       "170                           Prominent industry leaders   \n",
       "...                                                  ...   \n",
       "97844       The developers or the people creating the AI   \n",
       "98064       The developers or the people creating the AI   \n",
       "98785       The developers or the people creating the AI   \n",
       "99654            A governmental or other regulatory body   \n",
       "100002      The developers or the people creating the AI   \n",
       "\n",
       "                                                     AIFuture  \\\n",
       "Respondent                                                      \n",
       "63                                                        NaN   \n",
       "129         I'm excited about the possibilities more than ...   \n",
       "140         I don't care about it, or I haven't thought ab...   \n",
       "148         I'm worried about the dangers more than I'm ex...   \n",
       "170         I'm excited about the possibilities more than ...   \n",
       "...                                                       ...   \n",
       "97844       I'm excited about the possibilities more than ...   \n",
       "98064       I don't care about it, or I haven't thought ab...   \n",
       "98785       I'm excited about the possibilities more than ...   \n",
       "99654       I'm excited about the possibilities more than ...   \n",
       "100002      I'm excited about the possibilities more than ...   \n",
       "\n",
       "                     EthicsChoice           EthicsReport  \\\n",
       "Respondent                                                 \n",
       "63                            NaN                    NaN   \n",
       "129         Depends on what it is  Depends on what it is   \n",
       "140         Depends on what it is  Depends on what it is   \n",
       "148                            No  Depends on what it is   \n",
       "170         Depends on what it is  Depends on what it is   \n",
       "...                           ...                    ...   \n",
       "97844                          No      Yes, and publicly   \n",
       "98064       Depends on what it is                     No   \n",
       "98785       Depends on what it is      Yes, and publicly   \n",
       "99654                          No  Depends on what it is   \n",
       "100002      Depends on what it is  Depends on what it is   \n",
       "\n",
       "                                       EthicsResponsible EthicalImplications  \\\n",
       "Respondent                                                                     \n",
       "63                                                   NaN                 NaN   \n",
       "129         Upper management at the company/organization                 Yes   \n",
       "140         Upper management at the company/organization                  No   \n",
       "148         Upper management at the company/organization                 Yes   \n",
       "170         Upper management at the company/organization                 Yes   \n",
       "...                                                  ...                 ...   \n",
       "97844               The person who came up with the idea                 Yes   \n",
       "98064               The person who came up with the idea                 Yes   \n",
       "98785               The person who came up with the idea                 Yes   \n",
       "99654                         The developer who wrote it                 Yes   \n",
       "100002                        The developer who wrote it                 Yes   \n",
       "\n",
       "           StackOverflowRecommend  \\\n",
       "Respondent                          \n",
       "63                              6   \n",
       "129                             8   \n",
       "140                             9   \n",
       "148              10 (Very Likely)   \n",
       "170              10 (Very Likely)   \n",
       "...                           ...   \n",
       "97844            10 (Very Likely)   \n",
       "98064            10 (Very Likely)   \n",
       "98785            10 (Very Likely)   \n",
       "99654                           8   \n",
       "100002           10 (Very Likely)   \n",
       "\n",
       "                                           StackOverflowVisit  \\\n",
       "Respondent                                                      \n",
       "63          I have never visited Stack Overflow (before to...   \n",
       "129                                    Multiple times per day   \n",
       "140                                     Daily or almost daily   \n",
       "148                       Less than once per month or monthly   \n",
       "170                                    Multiple times per day   \n",
       "...                                                       ...   \n",
       "97844                         A few times per month or weekly   \n",
       "98064                         A few times per month or weekly   \n",
       "98785                                  Multiple times per day   \n",
       "99654                                   Daily or almost daily   \n",
       "100002                                  Daily or almost daily   \n",
       "\n",
       "                    StackOverflowHasAccount  \\\n",
       "Respondent                                    \n",
       "63                                      NaN   \n",
       "129                                     Yes   \n",
       "140                                     Yes   \n",
       "148                                     Yes   \n",
       "170         I'm not sure / I can't remember   \n",
       "...                                     ...   \n",
       "97844                                   Yes   \n",
       "98064       I'm not sure / I can't remember   \n",
       "98785                                    No   \n",
       "99654                                    No   \n",
       "100002                                   No   \n",
       "\n",
       "                       StackOverflowParticipate  \\\n",
       "Respondent                                        \n",
       "63                                          NaN   \n",
       "129         Less than once per month or monthly   \n",
       "140             A few times per month or weekly   \n",
       "148         Less than once per month or monthly   \n",
       "170                                         NaN   \n",
       "...                                         ...   \n",
       "97844       Less than once per month or monthly   \n",
       "98064                                       NaN   \n",
       "98785                                       NaN   \n",
       "99654                                       NaN   \n",
       "100002                                      NaN   \n",
       "\n",
       "                                            StackOverflowJobs  \\\n",
       "Respondent                                                      \n",
       "63                                                        NaN   \n",
       "129         No, I knew that Stack Overflow had a jobs boar...   \n",
       "140         No, I didn't know that Stack Overflow had a jo...   \n",
       "148         No, I knew that Stack Overflow had a jobs boar...   \n",
       "170         No, I knew that Stack Overflow had a jobs boar...   \n",
       "...                                                       ...   \n",
       "97844       No, I knew that Stack Overflow had a jobs boar...   \n",
       "98064       No, I didn't know that Stack Overflow had a jo...   \n",
       "98785       No, I didn't know that Stack Overflow had a jo...   \n",
       "99654       No, I didn't know that Stack Overflow had a jo...   \n",
       "100002      No, I didn't know that Stack Overflow had a jo...   \n",
       "\n",
       "                                 StackOverflowDevStory  \\\n",
       "Respondent                                               \n",
       "63                                                 NaN   \n",
       "129                  No, and I don't know what that is   \n",
       "140         No, I know what it is but I don't have one   \n",
       "148                  No, and I don't know what that is   \n",
       "170                                                NaN   \n",
       "...                                                ...   \n",
       "97844                No, and I don't know what that is   \n",
       "98064                                              NaN   \n",
       "98785                                              NaN   \n",
       "99654                                              NaN   \n",
       "100002                                             NaN   \n",
       "\n",
       "           StackOverflowJobsRecommend StackOverflowConsiderMember  \\\n",
       "Respondent                                                          \n",
       "63                                NaN                I'm not sure   \n",
       "129                               NaN                I'm not sure   \n",
       "140                               NaN                         Yes   \n",
       "148                               NaN                          No   \n",
       "170                               NaN                I'm not sure   \n",
       "...                               ...                         ...   \n",
       "97844                             NaN                          No   \n",
       "98064                             NaN                         Yes   \n",
       "98785                             NaN                I'm not sure   \n",
       "99654                             NaN                I'm not sure   \n",
       "100002                            NaN                         Yes   \n",
       "\n",
       "                 HypotheticalTools1       HypotheticalTools2  \\\n",
       "Respondent                                                     \n",
       "63          A little bit interested  A little bit interested   \n",
       "129         A little bit interested  A little bit interested   \n",
       "140             Somewhat interested          Very interested   \n",
       "148                 Very interested     Extremely interested   \n",
       "170                 Very interested      Somewhat interested   \n",
       "...                             ...                      ...   \n",
       "97844           Somewhat interested     Extremely interested   \n",
       "98064       A little bit interested          Very interested   \n",
       "98785          Extremely interested          Very interested   \n",
       "99654         Not at all interested     Extremely interested   \n",
       "100002      A little bit interested     Extremely interested   \n",
       "\n",
       "                 HypotheticalTools3       HypotheticalTools4  \\\n",
       "Respondent                                                     \n",
       "63            Not at all interested          Very interested   \n",
       "129         A little bit interested  A little bit interested   \n",
       "140                 Very interested      Somewhat interested   \n",
       "148           Not at all interested  A little bit interested   \n",
       "170             Somewhat interested          Very interested   \n",
       "...                             ...                      ...   \n",
       "97844           Somewhat interested    Not at all interested   \n",
       "98064               Very interested          Very interested   \n",
       "98785           Somewhat interested      Somewhat interested   \n",
       "99654          Extremely interested                      NaN   \n",
       "100002          Somewhat interested          Very interested   \n",
       "\n",
       "                 HypotheticalTools5                  WakeTime  HoursComputer  \\\n",
       "Respondent                                                                     \n",
       "63          A little bit interested    Between 7:01 - 8:00 AM    1 - 4 hours   \n",
       "129         A little bit interested   Between 9:01 - 10:00 AM   9 - 12 hours   \n",
       "140                 Very interested    Between 7:01 - 8:00 AM    5 - 8 hours   \n",
       "148            Extremely interested    Between 6:01 - 7:00 AM    5 - 8 hours   \n",
       "170                 Very interested  Between 10:01 - 11:00 AM   9 - 12 hours   \n",
       "...                             ...                       ...            ...   \n",
       "97844       A little bit interested                       NaN    1 - 4 hours   \n",
       "98064               Very interested            Before 5:00 AM  Over 12 hours   \n",
       "98785       A little bit interested    Between 8:01 - 9:00 AM  Over 12 hours   \n",
       "99654         Not at all interested    Between 6:01 - 7:00 AM    1 - 4 hours   \n",
       "100002         Extremely interested    Between 7:01 - 8:00 AM    5 - 8 hours   \n",
       "\n",
       "                    HoursOutside                  SkipMeals  \\\n",
       "Respondent                                                    \n",
       "63                  Over 4 hours       1 - 2 times per week   \n",
       "129                  1 - 2 hours  Daily or almost every day   \n",
       "140              30 - 59 minutes                      Never   \n",
       "148                  1 - 2 hours                      Never   \n",
       "170                  1 - 2 hours       1 - 2 times per week   \n",
       "...                          ...                        ...   \n",
       "97844            30 - 59 minutes                      Never   \n",
       "98064       Less than 30 minutes       1 - 2 times per week   \n",
       "98785                1 - 2 hours       1 - 2 times per week   \n",
       "99654            30 - 59 minutes                      Never   \n",
       "100002               3 - 4 hours       1 - 2 times per week   \n",
       "\n",
       "                                     ErgonomicDevices  \\\n",
       "Respondent                                              \n",
       "63                        Ergonomic keyboard or mouse   \n",
       "129                                               NaN   \n",
       "140                                               NaN   \n",
       "148         Standing desk;Ergonomic keyboard or mouse   \n",
       "170                                               NaN   \n",
       "...                                               ...   \n",
       "97844                                             NaN   \n",
       "98064                     Fatigue-relieving floor mat   \n",
       "98785                                             NaN   \n",
       "99654                   Wrist/hand supports or braces   \n",
       "100002                  Wrist/hand supports or braces   \n",
       "\n",
       "                              Exercise  Gender  \\\n",
       "Respondent                                       \n",
       "63          I don't typically exercise  Female   \n",
       "129               3 - 4 times per week    Male   \n",
       "140          Daily or almost every day    Male   \n",
       "148          Daily or almost every day    Male   \n",
       "170         I don't typically exercise    Male   \n",
       "...                                ...     ...   \n",
       "97844                              NaN     NaN   \n",
       "98064        Daily or almost every day    Male   \n",
       "98785       I don't typically exercise  Female   \n",
       "99654       I don't typically exercise    Male   \n",
       "100002            3 - 4 times per week    Male   \n",
       "\n",
       "                           SexualOrientation  \\\n",
       "Respondent                                     \n",
       "63                                       NaN   \n",
       "129                 Straight or heterosexual   \n",
       "140                 Straight or heterosexual   \n",
       "148                 Straight or heterosexual   \n",
       "170                 Straight or heterosexual   \n",
       "...                                      ...   \n",
       "97844                                    NaN   \n",
       "98064       Straight or heterosexual;Asexual   \n",
       "98785                                    NaN   \n",
       "99654               Straight or heterosexual   \n",
       "100002              Straight or heterosexual   \n",
       "\n",
       "                                       EducationParents  \\\n",
       "Respondent                                                \n",
       "63                                                  NaN   \n",
       "129           Other doctoral degree (Ph.D, Ed.D., etc.)   \n",
       "140            Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "148                                    Associate degree   \n",
       "170         Master’s degree (MA, MS, M.Eng., MBA, etc.)   \n",
       "...                                                 ...   \n",
       "97844                                               NaN   \n",
       "98064         They never completed any formal education   \n",
       "98785          Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "99654       Master’s degree (MA, MS, M.Eng., MBA, etc.)   \n",
       "100002      Master’s degree (MA, MS, M.Eng., MBA, etc.)   \n",
       "\n",
       "                           RaceEthnicity                Age Dependents  \\\n",
       "Respondent                                                               \n",
       "63                                   NaN  35 - 44 years old        Yes   \n",
       "129                           East Asian  18 - 24 years old         No   \n",
       "140                          South Asian  18 - 24 years old        Yes   \n",
       "148         White or of European descent  25 - 34 years old         No   \n",
       "170                          South Asian  25 - 34 years old        Yes   \n",
       "...                                  ...                ...        ...   \n",
       "97844                                NaN                NaN        NaN   \n",
       "98064                                NaN  18 - 24 years old         No   \n",
       "98785       White or of European descent  25 - 34 years old         No   \n",
       "99654       White or of European descent  18 - 24 years old         No   \n",
       "100002                               NaN  25 - 34 years old        NaN   \n",
       "\n",
       "           MilitaryUS                         SurveyTooLong  \\\n",
       "Respondent                                                    \n",
       "63                NaN                                   NaN   \n",
       "129                No               The survey was too long   \n",
       "140               NaN               The survey was too long   \n",
       "148                No               The survey was too long   \n",
       "170               NaN               The survey was too long   \n",
       "...               ...                                   ...   \n",
       "97844             NaN               The survey was too long   \n",
       "98064             NaN               The survey was too long   \n",
       "98785             NaN  The survey was an appropriate length   \n",
       "99654             NaN               The survey was too long   \n",
       "100002            NaN               The survey was too long   \n",
       "\n",
       "                            SurveyEasy  \n",
       "Respondent                              \n",
       "63                                 NaN  \n",
       "129                      Somewhat easy  \n",
       "140                      Somewhat easy  \n",
       "148                          Very easy  \n",
       "170                 Somewhat difficult  \n",
       "...                                ...  \n",
       "97844       Neither easy nor difficult  \n",
       "98064               Somewhat difficult  \n",
       "98785                        Very easy  \n",
       "99654                    Somewhat easy  \n",
       "100002      Neither easy nor difficult  \n",
       "\n",
       "[4685 rows x 128 columns]"
      ]
     },
     "execution_count": 54,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.loc[high_salary]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 55,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Country</th>\n",
       "      <th>Student</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Respondent</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>63</td>\n",
       "      <td>Russian Federation</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>129</td>\n",
       "      <td>United States</td>\n",
       "      <td>Yes, full-time</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>140</td>\n",
       "      <td>India</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>148</td>\n",
       "      <td>United States</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>170</td>\n",
       "      <td>India</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>97844</td>\n",
       "      <td>United Kingdom</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>98064</td>\n",
       "      <td>India</td>\n",
       "      <td>Yes, full-time</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>98785</td>\n",
       "      <td>Germany</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>99654</td>\n",
       "      <td>Belgium</td>\n",
       "      <td>Yes, full-time</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>100002</td>\n",
       "      <td>India</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>4685 rows × 2 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                       Country         Student\n",
       "Respondent                                    \n",
       "63          Russian Federation              No\n",
       "129              United States  Yes, full-time\n",
       "140                      India              No\n",
       "148              United States              No\n",
       "170                      India              No\n",
       "...                        ...             ...\n",
       "97844           United Kingdom              No\n",
       "98064                    India  Yes, full-time\n",
       "98785                  Germany              No\n",
       "99654                  Belgium  Yes, full-time\n",
       "100002                   India              No\n",
       "\n",
       "[4685 rows x 2 columns]"
      ]
     },
     "execution_count": 55,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.loc[high_salary,['Country','Student']]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 59,
   "metadata": {},
   "outputs": [],
   "source": [
    "countries = ['United States','India','Germany']\n",
    "filt = df['Country'].isin(countries)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 61,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Respondent\n",
       "4         United States\n",
       "5         United States\n",
       "9         United States\n",
       "11        United States\n",
       "16                India\n",
       "              ...      \n",
       "101411    United States\n",
       "101432            India\n",
       "101478            India\n",
       "101513    United States\n",
       "101541            India\n",
       "Name: Country, Length: 40489, dtype: object"
      ]
     },
     "execution_count": 61,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.loc[filt,'Country']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 62,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Respondent\n",
       "1                               JavaScript;Python;HTML;CSS\n",
       "3                             JavaScript;Python;Bash/Shell\n",
       "4                                                      NaN\n",
       "5         C#;JavaScript;SQL;TypeScript;HTML;CSS;Bash/Shell\n",
       "7                       C;C++;Java;Matlab;R;SQL;Bash/Shell\n",
       "                                ...                       \n",
       "101513                                                 NaN\n",
       "101531                                                 NaN\n",
       "101541                                                 NaN\n",
       "101544                                                 NaN\n",
       "101548                                                 NaN\n",
       "Name: LanguageWorkedWith, Length: 98855, dtype: object"
      ]
     },
     "execution_count": 62,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df['LanguageWorkedWith']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 63,
   "metadata": {},
   "outputs": [],
   "source": [
    "filt = df['LanguageWorkedWith'].str.contains('Python',na=False)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 64,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Respondent\n",
       "1                               JavaScript;Python;HTML;CSS\n",
       "3                             JavaScript;Python;Bash/Shell\n",
       "8               Java;JavaScript;Python;TypeScript;HTML;CSS\n",
       "11       Assembly;CoffeeScript;Erlang;Go;JavaScript;Lua...\n",
       "33                               C;C++;Go;Python;SQL;Swift\n",
       "                               ...                        \n",
       "77960                                    Python;Bash/Shell\n",
       "80590                                               Python\n",
       "81545                                               Python\n",
       "87736                                             Python;R\n",
       "94097                                          Python;HTML\n",
       "Name: LanguageWorkedWith, Length: 30359, dtype: object"
      ]
     },
     "execution_count": 64,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.loc[filt,'LanguageWorkedWith']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 65,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Respondent\n",
       "1          True\n",
       "3          True\n",
       "4         False\n",
       "5         False\n",
       "7         False\n",
       "          ...  \n",
       "101513    False\n",
       "101531    False\n",
       "101541    False\n",
       "101544    False\n",
       "101548    False\n",
       "Name: LanguageWorkedWith, Length: 98855, dtype: bool"
      ]
     },
     "execution_count": 65,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "filt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 66,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Hobby</th>\n",
       "      <th>OpenSource</th>\n",
       "      <th>Country</th>\n",
       "      <th>Student</th>\n",
       "      <th>Employment</th>\n",
       "      <th>FormalEducation</th>\n",
       "      <th>UndergradMajor</th>\n",
       "      <th>CompanySize</th>\n",
       "      <th>DevType</th>\n",
       "      <th>YearsCoding</th>\n",
       "      <th>YearsCodingProf</th>\n",
       "      <th>JobSatisfaction</th>\n",
       "      <th>CareerSatisfaction</th>\n",
       "      <th>HopeFiveYears</th>\n",
       "      <th>JobSearchStatus</th>\n",
       "      <th>LastNewJob</th>\n",
       "      <th>AssessJob1</th>\n",
       "      <th>AssessJob2</th>\n",
       "      <th>AssessJob3</th>\n",
       "      <th>AssessJob4</th>\n",
       "      <th>AssessJob5</th>\n",
       "      <th>AssessJob6</th>\n",
       "      <th>AssessJob7</th>\n",
       "      <th>AssessJob8</th>\n",
       "      <th>AssessJob9</th>\n",
       "      <th>AssessJob10</th>\n",
       "      <th>AssessBenefits1</th>\n",
       "      <th>AssessBenefits2</th>\n",
       "      <th>AssessBenefits3</th>\n",
       "      <th>AssessBenefits4</th>\n",
       "      <th>AssessBenefits5</th>\n",
       "      <th>AssessBenefits6</th>\n",
       "      <th>AssessBenefits7</th>\n",
       "      <th>AssessBenefits8</th>\n",
       "      <th>AssessBenefits9</th>\n",
       "      <th>AssessBenefits10</th>\n",
       "      <th>AssessBenefits11</th>\n",
       "      <th>JobContactPriorities1</th>\n",
       "      <th>JobContactPriorities2</th>\n",
       "      <th>JobContactPriorities3</th>\n",
       "      <th>JobContactPriorities4</th>\n",
       "      <th>JobContactPriorities5</th>\n",
       "      <th>...</th>\n",
       "      <th>AdsPriorities2</th>\n",
       "      <th>AdsPriorities3</th>\n",
       "      <th>AdsPriorities4</th>\n",
       "      <th>AdsPriorities5</th>\n",
       "      <th>AdsPriorities6</th>\n",
       "      <th>AdsPriorities7</th>\n",
       "      <th>AIDangerous</th>\n",
       "      <th>AIInteresting</th>\n",
       "      <th>AIResponsible</th>\n",
       "      <th>AIFuture</th>\n",
       "      <th>EthicsChoice</th>\n",
       "      <th>EthicsReport</th>\n",
       "      <th>EthicsResponsible</th>\n",
       "      <th>EthicalImplications</th>\n",
       "      <th>StackOverflowRecommend</th>\n",
       "      <th>StackOverflowVisit</th>\n",
       "      <th>StackOverflowHasAccount</th>\n",
       "      <th>StackOverflowParticipate</th>\n",
       "      <th>StackOverflowJobs</th>\n",
       "      <th>StackOverflowDevStory</th>\n",
       "      <th>StackOverflowJobsRecommend</th>\n",
       "      <th>StackOverflowConsiderMember</th>\n",
       "      <th>HypotheticalTools1</th>\n",
       "      <th>HypotheticalTools2</th>\n",
       "      <th>HypotheticalTools3</th>\n",
       "      <th>HypotheticalTools4</th>\n",
       "      <th>HypotheticalTools5</th>\n",
       "      <th>WakeTime</th>\n",
       "      <th>HoursComputer</th>\n",
       "      <th>HoursOutside</th>\n",
       "      <th>SkipMeals</th>\n",
       "      <th>ErgonomicDevices</th>\n",
       "      <th>Exercise</th>\n",
       "      <th>Gender</th>\n",
       "      <th>SexualOrientation</th>\n",
       "      <th>EducationParents</th>\n",
       "      <th>RaceEthnicity</th>\n",
       "      <th>Age</th>\n",
       "      <th>Dependents</th>\n",
       "      <th>MilitaryUS</th>\n",
       "      <th>SurveyTooLong</th>\n",
       "      <th>SurveyEasy</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Respondent</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>Kenya</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed part-time</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>Mathematics or statistics</td>\n",
       "      <td>20 to 99 employees</td>\n",
       "      <td>Full-stack developer</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>Extremely satisfied</td>\n",
       "      <td>Extremely satisfied</td>\n",
       "      <td>Working as a founder or co-founder of my own c...</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Less than a year ago</td>\n",
       "      <td>10.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>5.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>Algorithms making important decisions</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>No</td>\n",
       "      <td>Yes, and publicly</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Multiple times per day</td>\n",
       "      <td>Yes</td>\n",
       "      <td>I have never participated in Q&amp;A on Stack Over...</td>\n",
       "      <td>No, I knew that Stack Overflow had a jobs boar...</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Between 5:00 - 6:00 AM</td>\n",
       "      <td>9 - 12 hours</td>\n",
       "      <td>1 - 2 hours</td>\n",
       "      <td>Never</td>\n",
       "      <td>Standing desk</td>\n",
       "      <td>3 - 4 times per week</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>Black or of African descent</td>\n",
       "      <td>25 - 34 years old</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was an appropriate length</td>\n",
       "      <td>Very easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>3</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>United Kingdom</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>A natural science (ex. biology, chemistry, phy...</td>\n",
       "      <td>10,000 or more employees</td>\n",
       "      <td>Database administrator;DevOps specialist;Full-...</td>\n",
       "      <td>30 or more years</td>\n",
       "      <td>18-20 years</td>\n",
       "      <td>Moderately dissatisfied</td>\n",
       "      <td>Neither satisfied nor dissatisfied</td>\n",
       "      <td>Working in a different or more specialized tec...</td>\n",
       "      <td>I am actively looking for a job</td>\n",
       "      <td>More than 4 years ago</td>\n",
       "      <td>1.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>...</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No, I have one but it's out of date</td>\n",
       "      <td>7</td>\n",
       "      <td>Yes</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Between 6:01 - 7:00 AM</td>\n",
       "      <td>5 - 8 hours</td>\n",
       "      <td>30 - 59 minutes</td>\n",
       "      <td>Never</td>\n",
       "      <td>Ergonomic keyboard or mouse</td>\n",
       "      <td>Daily or almost every day</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>35 - 44 years old</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was an appropriate length</td>\n",
       "      <td>Somewhat easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>8</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>United Kingdom</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>10 to 19 employees</td>\n",
       "      <td>Back-end developer;Database administrator;Fron...</td>\n",
       "      <td>6-8 years</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Slightly satisfied</td>\n",
       "      <td>Working in a different or more specialized tec...</td>\n",
       "      <td>I am actively looking for a job</td>\n",
       "      <td>Between 2 and 4 years ago</td>\n",
       "      <td>8.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>...</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>Algorithms making important decisions</td>\n",
       "      <td>A governmental or other regulatory body</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Unsure / I don't know</td>\n",
       "      <td>7</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No, I have one but it's out of date</td>\n",
       "      <td>8</td>\n",
       "      <td>No</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Not at all interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Between 7:01 - 8:00 AM</td>\n",
       "      <td>9 - 12 hours</td>\n",
       "      <td>30 - 59 minutes</td>\n",
       "      <td>1 - 2 times per week</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1 - 2 times per week</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Secondary school (e.g. American high school, G...</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>18 - 24 years old</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was an appropriate length</td>\n",
       "      <td>Somewhat easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>11</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>United States</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Some college/university study without earning ...</td>\n",
       "      <td>Fine arts or performing arts (ex. graphic desi...</td>\n",
       "      <td>100 to 499 employees</td>\n",
       "      <td>Back-end developer;C-suite executive (CEO, CTO...</td>\n",
       "      <td>30 or more years</td>\n",
       "      <td>21-23 years</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Doing the same work</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Between 2 and 4 years ago</td>\n",
       "      <td>6.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>...</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>Algorithms making important decisions</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I'm worried about the dangers more than I'm ex...</td>\n",
       "      <td>No</td>\n",
       "      <td>Yes, and publicly</td>\n",
       "      <td>The person who came up with the idea</td>\n",
       "      <td>Yes</td>\n",
       "      <td>7</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>7</td>\n",
       "      <td>No</td>\n",
       "      <td>Not at all interested</td>\n",
       "      <td>Not at all interested</td>\n",
       "      <td>Not at all interested</td>\n",
       "      <td>Not at all interested</td>\n",
       "      <td>Not at all interested</td>\n",
       "      <td>Between 8:01 - 9:00 AM</td>\n",
       "      <td>9 - 12 hours</td>\n",
       "      <td>Less than 30 minutes</td>\n",
       "      <td>1 - 2 times per week</td>\n",
       "      <td>Standing desk;Fatigue-relieving floor mat</td>\n",
       "      <td>I don't typically exercise</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Some college/university study without earning ...</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>35 - 44 years old</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>The survey was an appropriate length</td>\n",
       "      <td>Very easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>33</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Australia</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>Another engineering discipline (ex. civil, ele...</td>\n",
       "      <td>1,000 to 4,999 employees</td>\n",
       "      <td>Database administrator;Full-stack developer;Mo...</td>\n",
       "      <td>15-17 years</td>\n",
       "      <td>12-14 years</td>\n",
       "      <td>Slightly satisfied</td>\n",
       "      <td>Slightly dissatisfied</td>\n",
       "      <td>Working in a different or more specialized tec...</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Between 2 and 4 years ago</td>\n",
       "      <td>7.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>Prominent industry leaders</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>No</td>\n",
       "      <td>Yes, but only within the company</td>\n",
       "      <td>The developer who wrote it</td>\n",
       "      <td>Yes</td>\n",
       "      <td>9</td>\n",
       "      <td>Daily or almost daily</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No, I know what it is but I don't have one</td>\n",
       "      <td>6</td>\n",
       "      <td>No</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Not at all interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Between 6:01 - 7:00 AM</td>\n",
       "      <td>9 - 12 hours</td>\n",
       "      <td>30 - 59 minutes</td>\n",
       "      <td>Never</td>\n",
       "      <td>Ergonomic keyboard or mouse</td>\n",
       "      <td>3 - 4 times per week</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>NaN</td>\n",
       "      <td>35 - 44 years old</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was too long</td>\n",
       "      <td>Neither easy nor difficult</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>77960</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>Germany</td>\n",
       "      <td>No</td>\n",
       "      <td>Not employed, and not looking for work</td>\n",
       "      <td>Secondary school (e.g. American high school, G...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0-2 years</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>7.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>The person who came up with the idea</td>\n",
       "      <td>No</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>No, I knew that Stack Overflow had a jobs boar...</td>\n",
       "      <td>No, I know what it is but I don't have one</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Between 6:01 - 7:00 AM</td>\n",
       "      <td>1 - 4 hours</td>\n",
       "      <td>30 - 59 minutes</td>\n",
       "      <td>Never</td>\n",
       "      <td>Ergonomic keyboard or mouse</td>\n",
       "      <td>1 - 2 times per week</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Middle Eastern;White or of European descent</td>\n",
       "      <td>Under 18 years old</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was an appropriate length</td>\n",
       "      <td>Neither easy nor difficult</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>80590</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>Netherlands</td>\n",
       "      <td>Yes, full-time</td>\n",
       "      <td>Not employed, and not looking for work</td>\n",
       "      <td>Secondary school (e.g. American high school, G...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Student</td>\n",
       "      <td>0-2 years</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>81545</td>\n",
       "      <td>No</td>\n",
       "      <td>No</td>\n",
       "      <td>Canada</td>\n",
       "      <td>No</td>\n",
       "      <td>Not employed, and not looking for work</td>\n",
       "      <td>Secondary school (e.g. American high school, G...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Student</td>\n",
       "      <td>0-2 years</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>No</td>\n",
       "      <td>Yes, but only within the company</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Yes</td>\n",
       "      <td>9</td>\n",
       "      <td>Multiple times per day</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No, I knew that Stack Overflow had a jobs boar...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Between 7:01 - 8:00 AM</td>\n",
       "      <td>5 - 8 hours</td>\n",
       "      <td>1 - 2 hours</td>\n",
       "      <td>Never</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I don't typically exercise</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>87736</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>China</td>\n",
       "      <td>Yes, full-time</td>\n",
       "      <td>Not employed, and not looking for work</td>\n",
       "      <td>Master’s degree (MA, MS, M.Eng., MBA, etc.)</td>\n",
       "      <td>A natural science (ex. biology, chemistry, phy...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Data scientist or machine learning specialist</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>94097</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>India</td>\n",
       "      <td>No</td>\n",
       "      <td>Not employed, but looking for work</td>\n",
       "      <td>Some college/university study without earning ...</td>\n",
       "      <td>A social science (ex. anthropology, psychology...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>QA or test developer;Student;System administrator</td>\n",
       "      <td>0-2 years</td>\n",
       "      <td>0-2 years</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>Nobody</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>No</td>\n",
       "      <td>Yes, but only within the company</td>\n",
       "      <td>The person who came up with the idea</td>\n",
       "      <td>Unsure / I don't know</td>\n",
       "      <td>7</td>\n",
       "      <td>Multiple times per day</td>\n",
       "      <td>Yes</td>\n",
       "      <td>A few times per week</td>\n",
       "      <td>No, I knew that Stack Overflow had a jobs boar...</td>\n",
       "      <td>No, I know what it is but I don't have one</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Before 5:00 AM</td>\n",
       "      <td>9 - 12 hours</td>\n",
       "      <td>3 - 4 hours</td>\n",
       "      <td>1 - 2 times per week</td>\n",
       "      <td>Ergonomic keyboard or mouse</td>\n",
       "      <td>Daily or almost every day</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>30359 rows × 128 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "           Hobby OpenSource         Country         Student  \\\n",
       "Respondent                                                    \n",
       "1            Yes         No           Kenya              No   \n",
       "3            Yes        Yes  United Kingdom              No   \n",
       "8            Yes         No  United Kingdom              No   \n",
       "11           Yes        Yes   United States              No   \n",
       "33           Yes        Yes       Australia              No   \n",
       "...          ...        ...             ...             ...   \n",
       "77960        Yes         No         Germany              No   \n",
       "80590        Yes         No     Netherlands  Yes, full-time   \n",
       "81545         No         No          Canada              No   \n",
       "87736        Yes        Yes           China  Yes, full-time   \n",
       "94097        Yes        Yes           India              No   \n",
       "\n",
       "                                        Employment  \\\n",
       "Respondent                                           \n",
       "1                               Employed part-time   \n",
       "3                               Employed full-time   \n",
       "8                               Employed full-time   \n",
       "11                              Employed full-time   \n",
       "33                              Employed full-time   \n",
       "...                                            ...   \n",
       "77960       Not employed, and not looking for work   \n",
       "80590       Not employed, and not looking for work   \n",
       "81545       Not employed, and not looking for work   \n",
       "87736       Not employed, and not looking for work   \n",
       "94097           Not employed, but looking for work   \n",
       "\n",
       "                                              FormalEducation  \\\n",
       "Respondent                                                      \n",
       "1                    Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "3                    Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "8                    Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "11          Some college/university study without earning ...   \n",
       "33                   Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "...                                                       ...   \n",
       "77960       Secondary school (e.g. American high school, G...   \n",
       "80590       Secondary school (e.g. American high school, G...   \n",
       "81545       Secondary school (e.g. American high school, G...   \n",
       "87736             Master’s degree (MA, MS, M.Eng., MBA, etc.)   \n",
       "94097       Some college/university study without earning ...   \n",
       "\n",
       "                                               UndergradMajor  \\\n",
       "Respondent                                                      \n",
       "1                                   Mathematics or statistics   \n",
       "3           A natural science (ex. biology, chemistry, phy...   \n",
       "8           Computer science, computer engineering, or sof...   \n",
       "11          Fine arts or performing arts (ex. graphic desi...   \n",
       "33          Another engineering discipline (ex. civil, ele...   \n",
       "...                                                       ...   \n",
       "77960                                                     NaN   \n",
       "80590                                                     NaN   \n",
       "81545                                                     NaN   \n",
       "87736       A natural science (ex. biology, chemistry, phy...   \n",
       "94097       A social science (ex. anthropology, psychology...   \n",
       "\n",
       "                         CompanySize  \\\n",
       "Respondent                             \n",
       "1                 20 to 99 employees   \n",
       "3           10,000 or more employees   \n",
       "8                 10 to 19 employees   \n",
       "11              100 to 499 employees   \n",
       "33          1,000 to 4,999 employees   \n",
       "...                              ...   \n",
       "77960                            NaN   \n",
       "80590                            NaN   \n",
       "81545                            NaN   \n",
       "87736                            NaN   \n",
       "94097                            NaN   \n",
       "\n",
       "                                                      DevType  \\\n",
       "Respondent                                                      \n",
       "1                                        Full-stack developer   \n",
       "3           Database administrator;DevOps specialist;Full-...   \n",
       "8           Back-end developer;Database administrator;Fron...   \n",
       "11          Back-end developer;C-suite executive (CEO, CTO...   \n",
       "33          Database administrator;Full-stack developer;Mo...   \n",
       "...                                                       ...   \n",
       "77960                                                     NaN   \n",
       "80590                                                 Student   \n",
       "81545                                                 Student   \n",
       "87736           Data scientist or machine learning specialist   \n",
       "94097       QA or test developer;Student;System administrator   \n",
       "\n",
       "                 YearsCoding YearsCodingProf          JobSatisfaction  \\\n",
       "Respondent                                                              \n",
       "1                  3-5 years       3-5 years      Extremely satisfied   \n",
       "3           30 or more years     18-20 years  Moderately dissatisfied   \n",
       "8                  6-8 years       3-5 years     Moderately satisfied   \n",
       "11          30 or more years     21-23 years     Moderately satisfied   \n",
       "33               15-17 years     12-14 years       Slightly satisfied   \n",
       "...                      ...             ...                      ...   \n",
       "77960              0-2 years             NaN                      NaN   \n",
       "80590              0-2 years             NaN                      NaN   \n",
       "81545              0-2 years             NaN                      NaN   \n",
       "87736              3-5 years             NaN                      NaN   \n",
       "94097              0-2 years       0-2 years                      NaN   \n",
       "\n",
       "                            CareerSatisfaction  \\\n",
       "Respondent                                       \n",
       "1                          Extremely satisfied   \n",
       "3           Neither satisfied nor dissatisfied   \n",
       "8                           Slightly satisfied   \n",
       "11                        Moderately satisfied   \n",
       "33                       Slightly dissatisfied   \n",
       "...                                        ...   \n",
       "77960                                      NaN   \n",
       "80590                                      NaN   \n",
       "81545                                      NaN   \n",
       "87736                                      NaN   \n",
       "94097                                      NaN   \n",
       "\n",
       "                                                HopeFiveYears  \\\n",
       "Respondent                                                      \n",
       "1           Working as a founder or co-founder of my own c...   \n",
       "3           Working in a different or more specialized tec...   \n",
       "8           Working in a different or more specialized tec...   \n",
       "11                                        Doing the same work   \n",
       "33          Working in a different or more specialized tec...   \n",
       "...                                                       ...   \n",
       "77960                                                     NaN   \n",
       "80590                                                     NaN   \n",
       "81545                                                     NaN   \n",
       "87736                                                     NaN   \n",
       "94097                                                     NaN   \n",
       "\n",
       "                                              JobSearchStatus  \\\n",
       "Respondent                                                      \n",
       "1           I’m not actively looking, but I am open to new...   \n",
       "3                             I am actively looking for a job   \n",
       "8                             I am actively looking for a job   \n",
       "11          I’m not actively looking, but I am open to new...   \n",
       "33          I’m not actively looking, but I am open to new...   \n",
       "...                                                       ...   \n",
       "77960                                                     NaN   \n",
       "80590                                                     NaN   \n",
       "81545                                                     NaN   \n",
       "87736                                                     NaN   \n",
       "94097                                                     NaN   \n",
       "\n",
       "                           LastNewJob  AssessJob1  AssessJob2  AssessJob3  \\\n",
       "Respondent                                                                  \n",
       "1                Less than a year ago        10.0         7.0         8.0   \n",
       "3               More than 4 years ago         1.0         7.0        10.0   \n",
       "8           Between 2 and 4 years ago         8.0         5.0         4.0   \n",
       "11          Between 2 and 4 years ago         6.0         3.0         7.0   \n",
       "33          Between 2 and 4 years ago         7.0         4.0        10.0   \n",
       "...                               ...         ...         ...         ...   \n",
       "77960                             NaN         NaN         NaN         NaN   \n",
       "80590                             NaN         NaN         NaN         NaN   \n",
       "81545                             NaN         NaN         NaN         NaN   \n",
       "87736                             NaN         NaN         NaN         NaN   \n",
       "94097                             NaN         NaN         NaN         NaN   \n",
       "\n",
       "            AssessJob4  AssessJob5  AssessJob6  AssessJob7  AssessJob8  \\\n",
       "Respondent                                                               \n",
       "1                  1.0         2.0         5.0         3.0         4.0   \n",
       "3                  8.0         2.0         5.0         4.0         3.0   \n",
       "8                  9.0         1.0         3.0         6.0         2.0   \n",
       "11                 4.0         1.0         5.0        10.0         8.0   \n",
       "33                 2.0         1.0         5.0         3.0         6.0   \n",
       "...                ...         ...         ...         ...         ...   \n",
       "77960              NaN         NaN         NaN         NaN         NaN   \n",
       "80590              NaN         NaN         NaN         NaN         NaN   \n",
       "81545              NaN         NaN         NaN         NaN         NaN   \n",
       "87736              NaN         NaN         NaN         NaN         NaN   \n",
       "94097              NaN         NaN         NaN         NaN         NaN   \n",
       "\n",
       "            AssessJob9  AssessJob10  AssessBenefits1  AssessBenefits2  \\\n",
       "Respondent                                                              \n",
       "1                  9.0          6.0              NaN              NaN   \n",
       "3                  6.0          9.0              1.0              5.0   \n",
       "8                 10.0          7.0              1.0              3.0   \n",
       "11                 9.0          2.0              1.0              3.0   \n",
       "33                 9.0          8.0              3.0              1.0   \n",
       "...                ...          ...              ...              ...   \n",
       "77960              NaN          NaN              NaN              NaN   \n",
       "80590              NaN          NaN              NaN              NaN   \n",
       "81545              NaN          NaN              NaN              NaN   \n",
       "87736              NaN          NaN              NaN              NaN   \n",
       "94097              NaN          NaN              NaN              NaN   \n",
       "\n",
       "            AssessBenefits3  AssessBenefits4  AssessBenefits5  \\\n",
       "Respondent                                                      \n",
       "1                       NaN              NaN              NaN   \n",
       "3                       3.0              7.0             10.0   \n",
       "8                       4.0             10.0              9.0   \n",
       "11                      2.0              9.0             11.0   \n",
       "33                      6.0              4.0              5.0   \n",
       "...                     ...              ...              ...   \n",
       "77960                   NaN              NaN              NaN   \n",
       "80590                   NaN              NaN              NaN   \n",
       "81545                   NaN              NaN              NaN   \n",
       "87736                   NaN              NaN              NaN   \n",
       "94097                   NaN              NaN              NaN   \n",
       "\n",
       "            AssessBenefits6  AssessBenefits7  AssessBenefits8  \\\n",
       "Respondent                                                      \n",
       "1                       NaN              NaN              NaN   \n",
       "3                       4.0             11.0              9.0   \n",
       "8                       2.0              6.0              5.0   \n",
       "11                      5.0              8.0              4.0   \n",
       "33                      8.0              9.0              7.0   \n",
       "...                     ...              ...              ...   \n",
       "77960                   NaN              NaN              NaN   \n",
       "80590                   NaN              NaN              NaN   \n",
       "81545                   NaN              NaN              NaN   \n",
       "87736                   NaN              NaN              NaN   \n",
       "94097                   NaN              NaN              NaN   \n",
       "\n",
       "            AssessBenefits9  AssessBenefits10  AssessBenefits11  \\\n",
       "Respondent                                                        \n",
       "1                       NaN               NaN               NaN   \n",
       "3                       6.0               2.0               8.0   \n",
       "8                      11.0               7.0               8.0   \n",
       "11                     10.0               7.0               6.0   \n",
       "33                      2.0              11.0              10.0   \n",
       "...                     ...               ...               ...   \n",
       "77960                   NaN               NaN               NaN   \n",
       "80590                   NaN               NaN               NaN   \n",
       "81545                   NaN               NaN               NaN   \n",
       "87736                   NaN               NaN               NaN   \n",
       "94097                   NaN               NaN               NaN   \n",
       "\n",
       "            JobContactPriorities1  JobContactPriorities2  \\\n",
       "Respondent                                                 \n",
       "1                             3.0                    1.0   \n",
       "3                             3.0                    1.0   \n",
       "8                             4.0                    2.0   \n",
       "11                            5.0                    1.0   \n",
       "33                            2.0                    1.0   \n",
       "...                           ...                    ...   \n",
       "77960                         NaN                    NaN   \n",
       "80590                         NaN                    NaN   \n",
       "81545                         NaN                    NaN   \n",
       "87736                         NaN                    NaN   \n",
       "94097                         NaN                    NaN   \n",
       "\n",
       "            JobContactPriorities3  JobContactPriorities4  \\\n",
       "Respondent                                                 \n",
       "1                             4.0                    2.0   \n",
       "3                             5.0                    2.0   \n",
       "8                             5.0                    1.0   \n",
       "11                            2.0                    3.0   \n",
       "33                            4.0                    3.0   \n",
       "...                           ...                    ...   \n",
       "77960                         NaN                    NaN   \n",
       "80590                         NaN                    NaN   \n",
       "81545                         NaN                    NaN   \n",
       "87736                         NaN                    NaN   \n",
       "94097                         NaN                    NaN   \n",
       "\n",
       "            JobContactPriorities5  ...  AdsPriorities2  AdsPriorities3  \\\n",
       "Respondent                         ...                                   \n",
       "1                             5.0  ...             5.0             4.0   \n",
       "3                             4.0  ...             5.0             1.0   \n",
       "8                             3.0  ...             3.0             4.0   \n",
       "11                            4.0  ...             3.0             5.0   \n",
       "33                            5.0  ...             3.0             1.0   \n",
       "...                           ...  ...             ...             ...   \n",
       "77960                         NaN  ...             7.0             6.0   \n",
       "80590                         NaN  ...             NaN             NaN   \n",
       "81545                         NaN  ...             5.0             2.0   \n",
       "87736                         NaN  ...             NaN             NaN   \n",
       "94097                         NaN  ...             4.0             2.0   \n",
       "\n",
       "            AdsPriorities4  AdsPriorities5  AdsPriorities6  AdsPriorities7  \\\n",
       "Respondent                                                                   \n",
       "1                      7.0             2.0             6.0             3.0   \n",
       "3                      4.0             6.0             7.0             2.0   \n",
       "8                      2.0             7.0             5.0             6.0   \n",
       "11                     4.0             2.0             7.0             6.0   \n",
       "33                     7.0             6.0             4.0             5.0   \n",
       "...                    ...             ...             ...             ...   \n",
       "77960                  2.0             3.0             4.0             5.0   \n",
       "80590                  NaN             NaN             NaN             NaN   \n",
       "81545                  1.0             6.0             3.0             7.0   \n",
       "87736                  NaN             NaN             NaN             NaN   \n",
       "94097                  3.0             5.0             6.0             7.0   \n",
       "\n",
       "                                                  AIDangerous  \\\n",
       "Respondent                                                      \n",
       "1           Artificial intelligence surpassing human intel...   \n",
       "3                               Increasing automation of jobs   \n",
       "8                               Increasing automation of jobs   \n",
       "11                      Algorithms making important decisions   \n",
       "33                              Increasing automation of jobs   \n",
       "...                                                       ...   \n",
       "77960                                                     NaN   \n",
       "80590                                                     NaN   \n",
       "81545                           Increasing automation of jobs   \n",
       "87736                                                     NaN   \n",
       "94097       Artificial intelligence surpassing human intel...   \n",
       "\n",
       "                                                AIInteresting  \\\n",
       "Respondent                                                      \n",
       "1                       Algorithms making important decisions   \n",
       "3                               Increasing automation of jobs   \n",
       "8                       Algorithms making important decisions   \n",
       "11          Artificial intelligence surpassing human intel...   \n",
       "33          Artificial intelligence surpassing human intel...   \n",
       "...                                                       ...   \n",
       "77960                                                     NaN   \n",
       "80590                                                     NaN   \n",
       "81545                           Increasing automation of jobs   \n",
       "87736                                                     NaN   \n",
       "94097       Artificial intelligence surpassing human intel...   \n",
       "\n",
       "                                           AIResponsible  \\\n",
       "Respondent                                                 \n",
       "1           The developers or the people creating the AI   \n",
       "3           The developers or the people creating the AI   \n",
       "8                A governmental or other regulatory body   \n",
       "11          The developers or the people creating the AI   \n",
       "33                            Prominent industry leaders   \n",
       "...                                                  ...   \n",
       "77960       The developers or the people creating the AI   \n",
       "80590                                                NaN   \n",
       "81545       The developers or the people creating the AI   \n",
       "87736                                                NaN   \n",
       "94097                                             Nobody   \n",
       "\n",
       "                                                     AIFuture  \\\n",
       "Respondent                                                      \n",
       "1           I'm excited about the possibilities more than ...   \n",
       "3           I'm excited about the possibilities more than ...   \n",
       "8           I'm excited about the possibilities more than ...   \n",
       "11          I'm worried about the dangers more than I'm ex...   \n",
       "33          I'm excited about the possibilities more than ...   \n",
       "...                                                       ...   \n",
       "77960       I'm excited about the possibilities more than ...   \n",
       "80590                                                     NaN   \n",
       "81545       I'm excited about the possibilities more than ...   \n",
       "87736                                                     NaN   \n",
       "94097       I'm excited about the possibilities more than ...   \n",
       "\n",
       "                     EthicsChoice                      EthicsReport  \\\n",
       "Respondent                                                            \n",
       "1                              No                 Yes, and publicly   \n",
       "3           Depends on what it is             Depends on what it is   \n",
       "8           Depends on what it is             Depends on what it is   \n",
       "11                             No                 Yes, and publicly   \n",
       "33                             No  Yes, but only within the company   \n",
       "...                           ...                               ...   \n",
       "77960                         Yes                                No   \n",
       "80590                         NaN                               NaN   \n",
       "81545                          No  Yes, but only within the company   \n",
       "87736                         NaN                               NaN   \n",
       "94097                          No  Yes, but only within the company   \n",
       "\n",
       "                                       EthicsResponsible  \\\n",
       "Respondent                                                 \n",
       "1           Upper management at the company/organization   \n",
       "3           Upper management at the company/organization   \n",
       "8           Upper management at the company/organization   \n",
       "11                  The person who came up with the idea   \n",
       "33                            The developer who wrote it   \n",
       "...                                                  ...   \n",
       "77960               The person who came up with the idea   \n",
       "80590                                                NaN   \n",
       "81545       Upper management at the company/organization   \n",
       "87736                                                NaN   \n",
       "94097               The person who came up with the idea   \n",
       "\n",
       "              EthicalImplications StackOverflowRecommend  \\\n",
       "Respondent                                                 \n",
       "1                             Yes       10 (Very Likely)   \n",
       "3                             Yes       10 (Very Likely)   \n",
       "8           Unsure / I don't know                      7   \n",
       "11                            Yes                      7   \n",
       "33                            Yes                      9   \n",
       "...                           ...                    ...   \n",
       "77960                          No       10 (Very Likely)   \n",
       "80590                         NaN                    NaN   \n",
       "81545                         Yes                      9   \n",
       "87736                         NaN                    NaN   \n",
       "94097       Unsure / I don't know                      7   \n",
       "\n",
       "                             StackOverflowVisit StackOverflowHasAccount  \\\n",
       "Respondent                                                                \n",
       "1                        Multiple times per day                     Yes   \n",
       "3               A few times per month or weekly                     Yes   \n",
       "8               A few times per month or weekly                     Yes   \n",
       "11              A few times per month or weekly                     Yes   \n",
       "33                        Daily or almost daily                     Yes   \n",
       "...                                         ...                     ...   \n",
       "77960       Less than once per month or monthly                     Yes   \n",
       "80590                                       NaN                     NaN   \n",
       "81545                    Multiple times per day                      No   \n",
       "87736                                       NaN                     NaN   \n",
       "94097                    Multiple times per day                     Yes   \n",
       "\n",
       "                                     StackOverflowParticipate  \\\n",
       "Respondent                                                      \n",
       "1           I have never participated in Q&A on Stack Over...   \n",
       "3                             A few times per month or weekly   \n",
       "8                         Less than once per month or monthly   \n",
       "11                        Less than once per month or monthly   \n",
       "33                        Less than once per month or monthly   \n",
       "...                                                       ...   \n",
       "77960                     Less than once per month or monthly   \n",
       "80590                                                     NaN   \n",
       "81545                                                     NaN   \n",
       "87736                                                     NaN   \n",
       "94097                                    A few times per week   \n",
       "\n",
       "                                            StackOverflowJobs  \\\n",
       "Respondent                                                      \n",
       "1           No, I knew that Stack Overflow had a jobs boar...   \n",
       "3                                                         Yes   \n",
       "8                                                         Yes   \n",
       "11                                                        Yes   \n",
       "33                                                        Yes   \n",
       "...                                                       ...   \n",
       "77960       No, I knew that Stack Overflow had a jobs boar...   \n",
       "80590                                                     NaN   \n",
       "81545       No, I knew that Stack Overflow had a jobs boar...   \n",
       "87736                                                     NaN   \n",
       "94097       No, I knew that Stack Overflow had a jobs boar...   \n",
       "\n",
       "                                 StackOverflowDevStory  \\\n",
       "Respondent                                               \n",
       "1                                                  Yes   \n",
       "3                  No, I have one but it's out of date   \n",
       "8                  No, I have one but it's out of date   \n",
       "11                                                 Yes   \n",
       "33          No, I know what it is but I don't have one   \n",
       "...                                                ...   \n",
       "77960       No, I know what it is but I don't have one   \n",
       "80590                                              NaN   \n",
       "81545                                              NaN   \n",
       "87736                                              NaN   \n",
       "94097       No, I know what it is but I don't have one   \n",
       "\n",
       "           StackOverflowJobsRecommend StackOverflowConsiderMember  \\\n",
       "Respondent                                                          \n",
       "1                                 NaN                         Yes   \n",
       "3                                   7                         Yes   \n",
       "8                                   8                          No   \n",
       "11                                  7                          No   \n",
       "33                                  6                          No   \n",
       "...                               ...                         ...   \n",
       "77960                             NaN                         Yes   \n",
       "80590                             NaN                         NaN   \n",
       "81545                             NaN                          No   \n",
       "87736                             NaN                         NaN   \n",
       "94097                             NaN                         Yes   \n",
       "\n",
       "                 HypotheticalTools1       HypotheticalTools2  \\\n",
       "Respondent                                                     \n",
       "1              Extremely interested     Extremely interested   \n",
       "3           A little bit interested  A little bit interested   \n",
       "8           A little bit interested    Not at all interested   \n",
       "11            Not at all interested    Not at all interested   \n",
       "33          A little bit interested    Not at all interested   \n",
       "...                             ...                      ...   \n",
       "77960                           NaN                      NaN   \n",
       "80590                           NaN                      NaN   \n",
       "81545       A little bit interested     Extremely interested   \n",
       "87736                           NaN                      NaN   \n",
       "94097                           NaN                      NaN   \n",
       "\n",
       "                 HypotheticalTools3       HypotheticalTools4  \\\n",
       "Respondent                                                     \n",
       "1              Extremely interested     Extremely interested   \n",
       "3           A little bit interested  A little bit interested   \n",
       "8                   Very interested          Very interested   \n",
       "11            Not at all interested    Not at all interested   \n",
       "33              Somewhat interested      Somewhat interested   \n",
       "...                             ...                      ...   \n",
       "77960                           NaN                      NaN   \n",
       "80590                           NaN                      NaN   \n",
       "81545           Somewhat interested  A little bit interested   \n",
       "87736                           NaN                      NaN   \n",
       "94097                           NaN                      NaN   \n",
       "\n",
       "                 HypotheticalTools5                WakeTime HoursComputer  \\\n",
       "Respondent                                                                  \n",
       "1              Extremely interested  Between 5:00 - 6:00 AM  9 - 12 hours   \n",
       "3           A little bit interested  Between 6:01 - 7:00 AM   5 - 8 hours   \n",
       "8              Extremely interested  Between 7:01 - 8:00 AM  9 - 12 hours   \n",
       "11            Not at all interested  Between 8:01 - 9:00 AM  9 - 12 hours   \n",
       "33          A little bit interested  Between 6:01 - 7:00 AM  9 - 12 hours   \n",
       "...                             ...                     ...           ...   \n",
       "77960                           NaN  Between 6:01 - 7:00 AM   1 - 4 hours   \n",
       "80590                           NaN                     NaN           NaN   \n",
       "81545       A little bit interested  Between 7:01 - 8:00 AM   5 - 8 hours   \n",
       "87736                           NaN                     NaN           NaN   \n",
       "94097                           NaN          Before 5:00 AM  9 - 12 hours   \n",
       "\n",
       "                    HoursOutside             SkipMeals  \\\n",
       "Respondent                                               \n",
       "1                    1 - 2 hours                 Never   \n",
       "3                30 - 59 minutes                 Never   \n",
       "8                30 - 59 minutes  1 - 2 times per week   \n",
       "11          Less than 30 minutes  1 - 2 times per week   \n",
       "33               30 - 59 minutes                 Never   \n",
       "...                          ...                   ...   \n",
       "77960            30 - 59 minutes                 Never   \n",
       "80590                        NaN                   NaN   \n",
       "81545                1 - 2 hours                 Never   \n",
       "87736                        NaN                   NaN   \n",
       "94097                3 - 4 hours  1 - 2 times per week   \n",
       "\n",
       "                                     ErgonomicDevices  \\\n",
       "Respondent                                              \n",
       "1                                       Standing desk   \n",
       "3                         Ergonomic keyboard or mouse   \n",
       "8                                                 NaN   \n",
       "11          Standing desk;Fatigue-relieving floor mat   \n",
       "33                        Ergonomic keyboard or mouse   \n",
       "...                                               ...   \n",
       "77960                     Ergonomic keyboard or mouse   \n",
       "80590                                             NaN   \n",
       "81545                                             NaN   \n",
       "87736                                             NaN   \n",
       "94097                     Ergonomic keyboard or mouse   \n",
       "\n",
       "                              Exercise Gender         SexualOrientation  \\\n",
       "Respondent                                                                \n",
       "1                 3 - 4 times per week   Male  Straight or heterosexual   \n",
       "3            Daily or almost every day   Male  Straight or heterosexual   \n",
       "8                 1 - 2 times per week   Male  Straight or heterosexual   \n",
       "11          I don't typically exercise   Male  Straight or heterosexual   \n",
       "33                3 - 4 times per week   Male  Straight or heterosexual   \n",
       "...                                ...    ...                       ...   \n",
       "77960             1 - 2 times per week   Male  Straight or heterosexual   \n",
       "80590                              NaN    NaN                       NaN   \n",
       "81545       I don't typically exercise    NaN                       NaN   \n",
       "87736                              NaN    NaN                       NaN   \n",
       "94097        Daily or almost every day    NaN                       NaN   \n",
       "\n",
       "                                             EducationParents  \\\n",
       "Respondent                                                      \n",
       "1                    Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "3                    Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "8           Secondary school (e.g. American high school, G...   \n",
       "11          Some college/university study without earning ...   \n",
       "33                   Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "...                                                       ...   \n",
       "77960                                                     NaN   \n",
       "80590                                                     NaN   \n",
       "81545                                                     NaN   \n",
       "87736                                                     NaN   \n",
       "94097                                                     NaN   \n",
       "\n",
       "                                          RaceEthnicity                 Age  \\\n",
       "Respondent                                                                    \n",
       "1                           Black or of African descent   25 - 34 years old   \n",
       "3                          White or of European descent   35 - 44 years old   \n",
       "8                          White or of European descent   18 - 24 years old   \n",
       "11                         White or of European descent   35 - 44 years old   \n",
       "33                                                  NaN   35 - 44 years old   \n",
       "...                                                 ...                 ...   \n",
       "77960       Middle Eastern;White or of European descent  Under 18 years old   \n",
       "80590                                               NaN                 NaN   \n",
       "81545                                               NaN                 NaN   \n",
       "87736                                               NaN                 NaN   \n",
       "94097                                               NaN                 NaN   \n",
       "\n",
       "           Dependents MilitaryUS                         SurveyTooLong  \\\n",
       "Respondent                                                               \n",
       "1                 Yes        NaN  The survey was an appropriate length   \n",
       "3                 Yes        NaN  The survey was an appropriate length   \n",
       "8                  No        NaN  The survey was an appropriate length   \n",
       "11                Yes         No  The survey was an appropriate length   \n",
       "33                Yes        NaN               The survey was too long   \n",
       "...               ...        ...                                   ...   \n",
       "77960              No        NaN  The survey was an appropriate length   \n",
       "80590             NaN        NaN                                   NaN   \n",
       "81545             NaN        NaN                                   NaN   \n",
       "87736             NaN        NaN                                   NaN   \n",
       "94097             NaN        NaN                                   NaN   \n",
       "\n",
       "                            SurveyEasy  \n",
       "Respondent                              \n",
       "1                            Very easy  \n",
       "3                        Somewhat easy  \n",
       "8                        Somewhat easy  \n",
       "11                           Very easy  \n",
       "33          Neither easy nor difficult  \n",
       "...                                ...  \n",
       "77960       Neither easy nor difficult  \n",
       "80590                              NaN  \n",
       "81545                              NaN  \n",
       "87736                              NaN  \n",
       "94097                              NaN  \n",
       "\n",
       "[30359 rows x 128 columns]"
      ]
     },
     "execution_count": 66,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.loc[filt]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
